projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dhtlog updates
[oweals/gnunet.git]
/
src
/
util
/
strings.c
diff --git
a/src/util/strings.c
b/src/util/strings.c
index c868d1a9765c1567a53d9e2cefcbaeb5eff9108c..1f7f45d5192504cb27e3b0812d9d3d78da24673a 100644
(file)
--- a/
src/util/strings.c
+++ b/
src/util/strings.c
@@
-204,7
+204,7
@@
GNUNET_STRINGS_to_utf8 (const char *input, size_t len, const char *charset)
#else
(char **) &input,
#endif
- &len, &itmp, &finSize) ==
(size_t) - 1
)
+ &len, &itmp, &finSize) ==
SIZE_MAX
)
{
GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "iconv");
iconv_close (cd);