aboutsummaryrefslogtreecommitdiff
path: root/src/util/strings.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-06-11 22:33:24 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-06-11 22:33:24 +0000
commitd6fc0cd34f9b7b521190f0c37d0da646371a4f9d (patch)
tree0d5ffb0a36890fc58bf1b53b4ef872c8f5f68279 /src/util/strings.c
parentcbcb799bf4a9f4c05ce80c7fff21ddc366f44e25 (diff)
minor fixes
git-svn-id: https://gnunet.org/svn/gnunet@11680 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/util/strings.c')
-rw-r--r--src/util/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index c868d1a976..1f7f45d519 100644
--- 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);