summaryrefslogtreecommitdiff
path: root/runtime/unicode-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/unicode-helper.h')
-rw-r--r--runtime/unicode-helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/unicode-helper.h b/runtime/unicode-helper.h
index b7db276..db98ca3 100644
--- a/runtime/unicode-helper.h
+++ b/runtime/unicode-helper.h
@@ -53,7 +53,7 @@ static inline int ustrcmp(uchar *psz1, uchar *psz2)
return strcmp((char*) psz1, (char*) psz2);
}
-static inline int ustrlen(uchar *psz)
+static inline int ustrlen(const uchar *psz)
{
return strlen((char*) psz);
}