summary refs log tree commit diff
path: root/elf
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 /elf
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 'elf')
-rw-r--r--elf/dl-close.c4
-rw-r--r--elf/dl-load.c2
-rw-r--r--elf/dl-open.c4
3 files changed, 5 insertions, 5 deletions
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.  */