diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-close.c | 4 | ||||
-rw-r--r-- | elf/dl-load.c | 2 | ||||
-rw-r--r-- | elf/dl-open.c | 4 |
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. */ |