From: Kenichi Handa Date: Fri, 26 Jul 2002 04:05:16 +0000 (+0000) Subject: (Fccl_execute_on_string): Add `const' to local variables. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~530 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=093ff45304d112743a5199cc9085379d0c0f9647;p=emacs.git (Fccl_execute_on_string): Add `const' to local variables. --- diff --git a/src/ccl.c b/src/ccl.c index 40c4f5e0bd0..fd535acfe82 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -1935,8 +1935,8 @@ See the documentation of `define-ccl-program' for the detail of CCL program. */ produced_chars = 0; while (consumed_bytes < str_bytes) { - unsigned char *p = XSTRING (str)->data + consumed_bytes; - unsigned char *endp = XSTRING (str)->data + str_bytes; + const unsigned char *p = XSTRING (str)->data + consumed_bytes; + const unsigned char *endp = XSTRING (str)->data + str_bytes; int i = 0; int *src, src_size;