about summary refs log tree commit diff
path: root/iconv/iconv_prog.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-01-12 17:03:52 +0000
committerAndreas Jaeger <aj@suse.de>2001-01-12 17:03:52 +0000
commit2e47aff5ac000a9e1ab521fd8e880a1e39714710 (patch)
treefbda5c4dac146587e481251c0e95e839eba41752 /iconv/iconv_prog.c
parent5ef50d00ded8bb0934c2aef6c9f06acf23f66cb7 (diff)
downloadglibc-2e47aff5ac000a9e1ab521fd8e880a1e39714710.tar.gz
glibc-2e47aff5ac000a9e1ab521fd8e880a1e39714710.tar.xz
glibc-2e47aff5ac000a9e1ab521fd8e880a1e39714710.zip
* 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.
Diffstat (limited to 'iconv/iconv_prog.c')
-rw-r--r--iconv/iconv_prog.c4
1 files changed, 2 insertions, 2 deletions
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;