~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
I haven't found any browsers that do anything disgusting with
[sgt/halibut]
/
ustring.c
diff --git
a/ustring.c
b/ustring.c
index
13ee635
..
95477a5
100644
(file)
--- 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;