aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index ae6f77ba7e7..f8e1fd651d9 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -125,10 +125,10 @@ string is passed through `substitute-command-keys'.")
125 { 125 {
126 case Lisp_Subr: 126 case Lisp_Subr:
127 if (XSUBR (fun)->doc == 0) return Qnil; 127 if (XSUBR (fun)->doc == 0) return Qnil;
128 if ((int) XSUBR (fun)->doc >= 0) 128 if ((EMACS_INT) XSUBR (fun)->doc >= 0)
129 doc = build_string (XSUBR (fun)->doc); 129 doc = build_string (XSUBR (fun)->doc);
130 else 130 else
131 doc = get_doc_string (- (int) XSUBR (fun)->doc); 131 doc = get_doc_string (- (EMACS_INT) XSUBR (fun)->doc);
132 break; 132 break;
133 133
134 case Lisp_Compiled: 134 case Lisp_Compiled: