diff options
author | DJ Delorie <dj@delorie.com> | 2001-03-15 22:02:06 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2001-03-15 22:02:06 +0000 |
commit | 516013826f3ea98027abc62ba89432bf08ba01eb (patch) | |
tree | 5aa9e6f79c7b637fe07079a5356b89fefd3ada39 | |
parent | 5d026e63979e1b9819bbfcfe070a8b86a54a85da (diff) | |
download | gdb-516013826f3ea98027abc62ba89432bf08ba01eb.tar.gz |
merge from gcc
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/hashtab.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index a0897d160a8..989547060f5 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2001-03-15 Michael Meissner <meissner@redhat.com> + + * hashtab.c (higher_prime_number): Silence warning that 4294967291 + might be a signed integer under pre-ISO C systems. + 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> John David Anglin <dave@hiauly1.hia.nrc.ca> diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c index b27c94275c6..274ad9ec207 100644 --- a/libiberty/hashtab.c +++ b/libiberty/hashtab.c @@ -112,7 +112,7 @@ higher_prime_number (n) (unsigned long) 1073741789, (unsigned long) 2147483647, /* 4294967291L */ - ((unsigned long) 2147483647) + ((unsigned long) 2147483642), + ((unsigned long) 2147483647) + ((unsigned long) 2147483644), }; unsigned long* low = &primes[0]; |