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. --- elf/dl-close.c | 4 ++-- elf/dl-load.c | 2 +- elf/dl-open.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'elf') diff --git a/elf/dl-close.c b/elf/dl-close.c index cd4e44eef4..df0572265d 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -1,5 +1,5 @@ /* Close a shared object opened by `_dl_open'. - Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -182,7 +182,7 @@ _dl_close (void *_map) if (__builtin_expect (imap->l_global, 0)) { /* This object is in the global scope list. Remove it. */ - int cnt = _dl_main_searchlist->r_nlist; + unsigned int cnt = _dl_main_searchlist->r_nlist; do --cnt; diff --git a/elf/dl-load.c b/elf/dl-load.c index 8eff49cbbe..b18089c05e 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1604,7 +1604,7 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded, if (l && __builtin_expect (l->l_flags_1 & DF_1_NODEFLIB, 0)) { const char *dirp = system_dirs; - int cnt = 0; + unsigned int cnt = 0; do { diff --git a/elf/dl-open.c b/elf/dl-open.c index b8d28f826f..c02ecab26d 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -1,5 +1,5 @@ /* Load a shared object at runtime, relocate it, and run its initializer. - Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -397,7 +397,7 @@ _dl_open (const char *file, int mode, const void *caller) state if relocation failed, for example. */ if (args.map) { - int i; + unsigned int i; /* Increment open counters for all objects since this has not happened yet. */ -- cgit v1.2.3