summaryrefslogtreecommitdiff
path: root/ustring.c
diff options
context:
space:
mode:
Diffstat (limited to 'ustring.c')
-rw-r--r--ustring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ustring.c b/ustring.c
index 13ee635..95477a5 100644
--- a/ustring.c
+++ b/ustring.c
@@ -182,7 +182,7 @@ char *utoa_locale_dup(wchar_t const *s)
siz = wcstombs(ret, s, len);
if (siz) {
- assert(siz <= MB_CUR_MAX * len);
+ assert(siz <= (size_t)(MB_CUR_MAX * len));
ret[siz] = '\0';
ret = sresize(ret, siz+1, char);
return ret;