From c6fac61f1cb5fcc8e6b76f07126fe7f8f1cf6a67 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 19 Jul 2002 14:27:04 +0000 Subject: [PATCH] (compose_chars_in_text): Treat Lisp string contents as const. --- src/composite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composite.c b/src/composite.c index 1b40810a3aa..9fc58bc27b6 100644 --- a/src/composite.c +++ b/src/composite.c @@ -605,7 +605,7 @@ compose_chars_in_text (start, end, string) /* Set to nonzero if we don't have to compose ASCII characters. */ int skip_ascii; int i, len, stop, c; - unsigned char *ptr, *pend; + const unsigned char *ptr, *pend; if (! CHAR_TABLE_P (Vcomposition_function_table)) return; -- 2.39.5