diff options
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/print.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8be43ce844b..fecd07da955 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | * dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent. | 6 | * dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent. |
| 7 | * fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object, | 7 | * fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object, |
| 8 | as required by internal_condition_case_1. | 8 | as required by internal_condition_case_1. |
| 9 | * print.c (strout): Use const char* for arg PTR. | ||
| 9 | * regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object. | 10 | * regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object. |
| 10 | (analyse_first): Fix "const const". | 11 | (analyse_first): Fix "const const". |
| 11 | * sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval. | 12 | * sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval. |
diff --git a/src/print.c b/src/print.c index 76ce467eed0..ea00a90d37b 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -350,7 +350,8 @@ printchar (unsigned int ch, Lisp_Object fun) | |||
| 350 | to data in a Lisp string. Otherwise that is not safe. */ | 350 | to data in a Lisp string. Otherwise that is not safe. */ |
| 351 | 351 | ||
| 352 | static void | 352 | static void |
| 353 | strout (char *ptr, int size, int size_byte, Lisp_Object printcharfun, int multibyte) | 353 | strout (const char *ptr, int size, int size_byte, Lisp_Object printcharfun, |
| 354 | int multibyte) | ||
| 354 | { | 355 | { |
| 355 | if (size < 0) | 356 | if (size < 0) |
| 356 | size_byte = size = strlen (ptr); | 357 | size_byte = size = strlen (ptr); |