XEmacs 21.4.9 "Informed Management".
[chise/xemacs-chise.git.1] / src / doprnt.c
index d9dc8c4..b9951ae 100644 (file)
@@ -598,7 +598,8 @@ emacs_doprnt_1 (Lisp_Object stream, const Bufbyte *format_nonreloc,
              char *text_to_print =
                alloca_array (char, 32 +
                              max (spec->minwidth,
-                                  max (sizeof (double), sizeof (long)) * 3 +
+                                  (EMACS_INT)
+                                   max (sizeof (double), sizeof (long)) * 3 +
                                   max (spec->precision, 0)));
              char constructed_spec[100];
              char *p = constructed_spec;