changeset 109133:efd2c7ec61fe

* print.c (strout): Use const char* for arg PTR.
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 04 Jul 2010 16:40:41 +0200
parents 0f3ed79830e9
children 5f29e7d311d1
files src/ChangeLog src/print.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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);