diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-01-24 10:59:19 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-01-24 10:59:19 +0000 |
| commit | c011833b579018f69336c63f0de222e116da4a6a (patch) | |
| tree | 5b76282e8377f8d49d4a7aabb28535f25337762b /ustring.c | |
| parent | f05862b9fa9772942ab9cb594d8c42e6a5576b11 (diff) | |
| download | halibut-c011833b579018f69336c63f0de222e116da4a6a.zip halibut-c011833b579018f69336c63f0de222e116da4a6a.tar.gz halibut-c011833b579018f69336c63f0de222e116da4a6a.tar.bz2 halibut-c011833b579018f69336c63f0de222e116da4a6a.tar.xz | |
Mac OS X gcc warns about a signed/unsigned comparison here. Explicit cast.
[originally from svn r5188]
Diffstat (limited to 'ustring.c')
| -rw-r--r-- | ustring.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |