aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print.c b/src/print.c
index 560bca8178f..46132ff1e47 100644
--- a/src/print.c
+++ b/src/print.c
@@ -395,7 +395,7 @@ strout (const char *ptr, EMACS_INT size, EMACS_INT size_byte,
395 else 395 else
396 { 396 {
397 /* PRINTCHARFUN is a Lisp function. */ 397 /* PRINTCHARFUN is a Lisp function. */
398 int i = 0; 398 EMACS_INT i = 0;
399 399
400 if (size == size_byte) 400 if (size == size_byte)
401 { 401 {
@@ -489,7 +489,7 @@ print_string (Lisp_Object string, Lisp_Object printcharfun)
489 { 489 {
490 /* Otherwise, string may be relocated by printing one char. 490 /* Otherwise, string may be relocated by printing one char.
491 So re-fetch the string address for each character. */ 491 So re-fetch the string address for each character. */
492 int i; 492 EMACS_INT i;
493 EMACS_INT size = SCHARS (string); 493 EMACS_INT size = SCHARS (string);
494 EMACS_INT size_byte = SBYTES (string); 494 EMACS_INT size_byte = SBYTES (string);
495 struct gcpro gcpro1; 495 struct gcpro gcpro1;
@@ -1563,7 +1563,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
1563 print_string (obj, printcharfun); 1563 print_string (obj, printcharfun);
1564 else 1564 else
1565 { 1565 {
1566 register int i, i_byte; 1566 register EMACS_INT i, i_byte;
1567 struct gcpro gcpro1; 1567 struct gcpro gcpro1;
1568 unsigned char *str; 1568 unsigned char *str;
1569 EMACS_INT size_byte; 1569 EMACS_INT size_byte;