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 ed06d24..6337701 100644
--- a/runtime/unicode-helper.h
+++ b/runtime/unicode-helper.h
@@ -50,7 +50,7 @@
static inline int ustrcmp(const uchar *psz1, const uchar *psz2)
{
- return strcmp((char*) psz1, (char*) psz2);
+ return strcmp((const char*) psz1, (const char*) psz2);
}
static inline int ustrlen(const uchar *psz)