about summary refs log tree commit diff
path: root/sysdeps/generic/dl-cache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-28 21:08:38 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-28 21:08:38 +0000
commitb25a62a8a36541b12e8452224bb2e71f83ade815 (patch)
tree7c24ec7f6072d87f579c25c7bdf8b30c532f0bde /sysdeps/generic/dl-cache.c
parent270d9d472952a8923fa8a6d9d830fea77f4b838f (diff)
downloadglibc-b25a62a8a36541b12e8452224bb2e71f83ade815.tar.gz
glibc-b25a62a8a36541b12e8452224bb2e71f83ade815.tar.xz
glibc-b25a62a8a36541b12e8452224bb2e71f83ade815.zip
Update.
2002-12-28  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/readelflib.c (process_elf_file): Cast value to
	avoid warning.
	* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
Diffstat (limited to 'sysdeps/generic/dl-cache.c')
-rw-r--r--sysdeps/generic/dl-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c
index 4d66a238e3..bf2e98c543 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -219,7 +219,7 @@ _dl_load_cache_lookup (const char *name)
 
       hwcap = &GL(dl_hwcap);
       platform = _dl_string_platform (GL(dl_platform));
-      if (platform != -1)
+      if (platform != (uint64_t) -1)
 	platform = 1ULL << platform;
 
       /* Only accept hwcap if it's for the right platform.  */