aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-01-02 15:05:08 +0000
committerAndreas Jaeger <aj@suse.de>2001-01-02 15:05:08 +0000
commit78db65139d02ef0b0f88b48fdbe5249dc347690e (patch)
treeec3dfdb3a914bc2253453687f64241b2837c7cb7 /sysdeps/generic
parent8261c7547dc6c405febadd05691ba3900f861e44 (diff)
downloadglibc-78db65139d02ef0b0f88b48fdbe5249dc347690e.zip
glibc-78db65139d02ef0b0f88b48fdbe5249dc347690e.tar.gz
glibc-78db65139d02ef0b0f88b48fdbe5249dc347690e.tar.bz2
Update.
2001-01-02 Andreas Jaeger <aj@suse.de> * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make constant unsigned.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/dl-sysdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index bd4036c..2b01878 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -1,5 +1,5 @@
/* Operating system support for run-time dynamic linker. Generic Unix version.
- Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1995,1996,1997,1998,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
@@ -417,7 +417,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
#undef add
/* Now we are ready to install the string pointers and length. */
- for (n = 0; n < (1 << cnt); ++n)
+ for (n = 0; n < (1UL << cnt); ++n)
result[n].len = 0;
n = cnt;
do
@@ -434,7 +434,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
/* The first half of the strings all include the first string. */
n = (1 << cnt) - 2;
rp = &result[2];
- while (n != (1 << (cnt - 1)))
+ while (n != (1UL << (cnt - 1)))
{
if ((n & 1) != 0)
rp[0].str = rp[-2].str + rp[-2].len;