summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-16 01:04:03 +0000
committerRoland McGrath <roland@gnu.org>2003-03-16 01:04:03 +0000
commit638bb1f3941f1714659150a2202627d3820d6b05 (patch)
treea101f92e76c6b8f0f94606a23480a4712850eb4a /elf
parente993ec9a5b59d64e7037182376f3928af752ccf3 (diff)
downloadglibc-638bb1f3941f1714659150a2202627d3820d6b05.tar.gz
glibc-638bb1f3941f1714659150a2202627d3820d6b05.tar.xz
glibc-638bb1f3941f1714659150a2202627d3820d6b05.zip
* nscd/cache.c (cache_search): Give first arg type `request_type'.
	* nscd/nscd.h: Update decl.

	* nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness.
	* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
	* elf/dl-close.c (_dl_close): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t
	* io/fts.c (fts_build): Likewise.
	* elf/cache.c (add_to_cache): Likewise.
	* locale/programs/locarchive.c (show_archive_content): Likewise.

	* posix/fnmatch.c (fnmatch): Tweak __builtin_expect use.

	* include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3
	happy.
	(__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/cache.c2
-rw-r--r--elf/dl-close.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/elf/cache.c b/elf/cache.c
index e34ea5ccf5..eda1ce2d8e 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -464,7 +464,7 @@ add_to_cache (const char *path, const char *lib, int flags,
 {
   struct cache_entry *new_entry, *ptr, *prev;
   char *full_path;
-  int len, i;
+  size_t len, i;
 
   new_entry = (struct cache_entry *) xmalloc (sizeof (struct cache_entry));
 
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 1d4a8c3653..5a61ad0aed 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -371,7 +371,7 @@ _dl_close (void *_map)
 		     this search list, going in either direction.  When the
 		     whole chunk is at the end of the used area then we can
 		     reclaim it.  */
-		  if (imap->l_tls_offset == tls_free_end)
+		  if ((size_t) imap->l_tls_offset == tls_free_end)
 		    /* Extend the contiguous chunk being reclaimed.  */
 		    tls_free_end += imap->l_tls_blocksize;
 		  else if (imap->l_tls_offset + imap->l_tls_blocksize