aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index ae6f77ba7e..f8e1fd651d 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -125,10 +125,10 @@ string is passed through `substitute-command-keys'.")
{
case Lisp_Subr:
if (XSUBR (fun)->doc == 0) return Qnil;
- if ((int) XSUBR (fun)->doc >= 0)
+ if ((EMACS_INT) XSUBR (fun)->doc >= 0)
doc = build_string (XSUBR (fun)->doc);
else
- doc = get_doc_string (- (int) XSUBR (fun)->doc);
+ doc = get_doc_string (- (EMACS_INT) XSUBR (fun)->doc);
break;
case Lisp_Compiled: