# HG changeset patch # User Juanma Barranquero # Date 1278254441 -7200 # Node ID efd2c7ec61fe987b81412112f3cc99b562d02578 # Parent 0f3ed79830e909379bf251680c65476c5fbe01ab * print.c (strout): Use const char* for arg PTR. diff -r 0f3ed79830e9 -r efd2c7ec61fe src/ChangeLog --- a/src/ChangeLog Sun Jul 04 16:32:00 2010 +0200 +++ b/src/ChangeLog Sun Jul 04 16:40:41 2010 +0200 @@ -6,6 +6,7 @@ * dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent. * fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object, as required by internal_condition_case_1. + * print.c (strout): Use const char* for arg PTR. * regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object. (analyse_first): Fix "const const". * sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval. diff -r 0f3ed79830e9 -r efd2c7ec61fe src/print.c --- a/src/print.c Sun Jul 04 16:32:00 2010 +0200 +++ b/src/print.c Sun Jul 04 16:40:41 2010 +0200 @@ -350,7 +350,8 @@ to data in a Lisp string. Otherwise that is not safe. */ static void -strout (char *ptr, int size, int size_byte, Lisp_Object printcharfun, int multibyte) +strout (const char *ptr, int size, int size_byte, Lisp_Object printcharfun, + int multibyte) { if (size < 0) size_byte = size = strlen (ptr);