# HG changeset patch # User Ken Raeburn # Date 1026848931 0 # Node ID a3056dbb032b852704e71a0dfd9e13d293a2dd25 # Parent c246e05b9c7057c15ec1c6d3bf8749c0301d1e98 (temp_echo_area_glyphs): String pointer args now point to const. (Fminibuffer_complete_word): Use const for pointer to lisp string data. diff -r c246e05b9c70 -r a3056dbb032b src/minibuf.c --- a/src/minibuf.c Tue Jul 16 19:48:47 2002 +0000 +++ b/src/minibuf.c Tue Jul 16 19:48:51 2002 +0000 @@ -1942,7 +1942,7 @@ { Lisp_Object completion, tem, tem1; register int i, i_byte; - register unsigned char *completion_string; + register const unsigned char *completion_string; struct gcpro gcpro1, gcpro2; int prompt_end_charpos = XINT (Fminibuffer_prompt_end ()); @@ -2365,7 +2365,7 @@ void temp_echo_area_glyphs (m) - char *m; + const char *m; { int osize = ZV; int osize_byte = ZV_BYTE;