summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-12-09 00:24:09 +0100
committerpgen <p.gen.progs@gmail.com>2023-12-09 00:24:09 +0100
commita3f96f6546c54a81bb590812b3db5048d8513c0d (patch)
treecd9849091ac8077fb383e3cdd7ee4aecd662fc03 /utf8.c
parent9f4b497499f068edad52842ea6ab6d4bacdba352 (diff)
Add the const qualifier to some arrays
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
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);