[rtems commit] dosfs: Unsigned compared against 0
Gedare Bloom
gedare at rtems.org
Thu Sep 5 19:07:52 UTC 2013
Module: rtems
Branch: master
Commit: a8007dc2ca9aaf1b4d632cb17086ca416df00c89
Changeset: http://git.rtems.org/rtems/commit/?id=a8007dc2ca9aaf1b4d632cb17086ca416df00c89
Author: Gedare Bloom <gedare at rtems.org>
Date: Thu Sep 5 13:15:33 2013 -0400
dosfs: Unsigned compared against 0
Change the type for storing the return from iconv to be signed.
---
cpukit/libfs/src/dosfs/msdos_conv_utf8.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpukit/libfs/src/dosfs/msdos_conv_utf8.c b/cpukit/libfs/src/dosfs/msdos_conv_utf8.c
index a80db7e..18aebc6 100644
--- a/cpukit/libfs/src/dosfs/msdos_conv_utf8.c
+++ b/cpukit/libfs/src/dosfs/msdos_conv_utf8.c
@@ -57,7 +57,7 @@ static int msdos_utf8_convert_with_iconv(
size_t outbytes_left = *dst_size;
char *inbuf = (void *) (uintptr_t) src;
char *outbuf = dst;
- size_t iconv_status;
+ ssize_t iconv_status;
iconv_status = iconv(
desc,
More information about the vc
mailing list