diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/sys/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sys/string.c b/common/sys/string.c index 6f738939..a6a10cc9 100644 --- a/common/sys/string.c +++ b/common/sys/string.c @@ -386,7 +386,7 @@ DBCS_strcasestr(const char* pool, const char *ptr) } if (found) - return pool+i; + return (char *)pool+i; // next iteration: if target is DBCS, skip one more byte. if (pool[i] < 0) |