aboutsummaryrefslogtreecommitdiffstats
path: root/module/unicode/u8_textprep.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/unicode/u8_textprep.c')
-rw-r--r--module/unicode/u8_textprep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/unicode/u8_textprep.c b/module/unicode/u8_textprep.c
index 65f555d88947..be816d728359 100644
--- a/module/unicode/u8_textprep.c
+++ b/module/unicode/u8_textprep.c
@@ -330,7 +330,7 @@ const uint8_t u8_valid_max_2nd_byte[0x100] = {
* specific to UTF-8 and Unicode.
*/
int
-u8_validate(char *u8str, size_t n, char **list, int flag, int *errnum)
+u8_validate(const char *u8str, size_t n, char **list, int flag, int *errnum)
{
uchar_t *ib;
uchar_t *ibtail;