diff options
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/print.c b/src/print.c index 50c75d7712c..12edf015892 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -566,7 +566,7 @@ temp_output_buffer_setup (const char *bufname) | |||
| 566 | 566 | ||
| 567 | static void print (Lisp_Object, Lisp_Object, bool); | 567 | static void print (Lisp_Object, Lisp_Object, bool); |
| 568 | static void print_preprocess (Lisp_Object); | 568 | static void print_preprocess (Lisp_Object); |
| 569 | static void print_preprocess_string (INTERVAL, Lisp_Object); | 569 | static void print_preprocess_string (INTERVAL, void *); |
| 570 | static void print_object (Lisp_Object, Lisp_Object, bool); | 570 | static void print_object (Lisp_Object, Lisp_Object, bool); |
| 571 | 571 | ||
| 572 | DEFUN ("terpri", Fterpri, Sterpri, 0, 2, 0, | 572 | DEFUN ("terpri", Fterpri, Sterpri, 0, 2, 0, |
| @@ -1214,7 +1214,7 @@ print_preprocess (Lisp_Object obj) | |||
| 1214 | case Lisp_String: | 1214 | case Lisp_String: |
| 1215 | /* A string may have text properties, which can be circular. */ | 1215 | /* A string may have text properties, which can be circular. */ |
| 1216 | traverse_intervals_noorder (string_intervals (obj), | 1216 | traverse_intervals_noorder (string_intervals (obj), |
| 1217 | print_preprocess_string, Qnil); | 1217 | print_preprocess_string, NULL); |
| 1218 | break; | 1218 | break; |
| 1219 | 1219 | ||
| 1220 | case Lisp_Cons: | 1220 | case Lisp_Cons: |
| @@ -1263,7 +1263,7 @@ Fills `print-number-table'. */) | |||
| 1263 | } | 1263 | } |
| 1264 | 1264 | ||
| 1265 | static void | 1265 | static void |
| 1266 | print_preprocess_string (INTERVAL interval, Lisp_Object arg) | 1266 | print_preprocess_string (INTERVAL interval, void *arg) |
| 1267 | { | 1267 | { |
| 1268 | print_preprocess (interval->plist); | 1268 | print_preprocess (interval->plist); |
| 1269 | } | 1269 | } |
| @@ -1748,7 +1748,7 @@ print_object (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag) | |||
| 1748 | char buf[max (sizeof "from..to..in " + 2 * INT_STRLEN_BOUND (EMACS_INT), | 1748 | char buf[max (sizeof "from..to..in " + 2 * INT_STRLEN_BOUND (EMACS_INT), |
| 1749 | max (sizeof " . #" + INT_STRLEN_BOUND (printmax_t), | 1749 | max (sizeof " . #" + INT_STRLEN_BOUND (printmax_t), |
| 1750 | 40))]; | 1750 | 40))]; |
| 1751 | 1751 | current_thread->stack_top = buf; | |
| 1752 | maybe_quit (); | 1752 | maybe_quit (); |
| 1753 | 1753 | ||
| 1754 | /* Detect circularities and truncate them. */ | 1754 | /* Detect circularities and truncate them. */ |