diff options
Diffstat (limited to 'src/charConv.c')
-rw-r--r-- | src/charConv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charConv.c b/src/charConv.c index c2ef722a8..306ee9999 100644 --- a/src/charConv.c +++ b/src/charConv.c @@ -120,7 +120,7 @@ char *char_conv_str(char *dest, char *string) iconv(char_conv_iconv, &string, &inleft, &bufferPtr, &outleft); if (outleft == BUFFER_SIZE - || (err == -1L && errno != E2BIG)) { + || (err == (size_t)-1L && errno != E2BIG)) { return NULL; } memcpy(dest + retlen, buffer, BUFFER_SIZE - outleft); |