From a3f96f6546c54a81bb590812b3db5048d8513c0d Mon Sep 17 00:00:00 2001 From: pgen Date: Sat, 9 Dec 2023 00:24:09 +0100 Subject: Add the const qualifier to some arrays --- utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utf8.c') diff --git a/utf8.c b/utf8.c index 0ddea19..0f6e97d 100644 --- a/utf8.c +++ b/utf8.c @@ -378,7 +378,7 @@ utf8_sanitize(char *s, char substitute) len = strlen(s); while (*p) { - int n; + int n; n = utf8_get_length(*p); -- cgit v1.2.3