From fcbb914bcd075165194d43a1552014a51d4d5cb9 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 23 Mar 2003 02:07:13 +0000 Subject: [PATCH] (make_string_from_bytes): Add `const' for the arg CONTENTS. (make_specified_string): Likewise. --- src/alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alloc.c b/src/alloc.c index 2c1d09ac43e..0fc3198b773 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -1805,7 +1805,7 @@ make_multibyte_string (contents, nchars, nbytes) Lisp_Object make_string_from_bytes (contents, nchars, nbytes) - char *contents; + const char *contents; int nchars, nbytes; { register Lisp_Object val; @@ -1824,7 +1824,7 @@ make_string_from_bytes (contents, nchars, nbytes) Lisp_Object make_specified_string (contents, nchars, nbytes, multibyte) - char *contents; + const char *contents; int nchars, nbytes; int multibyte; { -- 2.39.2