From 2e47aff5ac000a9e1ab521fd8e880a1e39714710 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 12 Jan 2001 17:03:52 +0000 Subject: * posix/fnmatch_loop.c (FCT): Remove signed warnings. * posix/wordexp.c (do_parse_glob): Likewise. * sysdeps/posix/sigblock.c (__sigblock): Likewise. * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. * elf/dl-open.c (_dl_open): Likewise. * elf/dl-close.c (_dl_close): Likewise. * elf/dl-load.c (_dl_map_object): Likewise. * iconv/iconv_prog.c (process_fd): Likewise. --- iconv/iconv_prog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iconv') diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 644b15b2e0..a6e4cd3c1f 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -462,7 +462,7 @@ process_fd (iconv_t cd, int fd, FILE *output) while (actlen < maxlen) { - size_t n = read (fd, inptr, maxlen - actlen); + ssize_t n = read (fd, inptr, maxlen - actlen); if (n == 0) /* No more text to read. */ @@ -482,7 +482,7 @@ process_fd (iconv_t cd, int fd, FILE *output) if (actlen == maxlen) while (1) { - size_t n; + ssize_t n; /* Increase the buffer. */ maxlen += 32768; -- cgit 1.4.1