summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-03-15 22:02:06 +0000
committerDJ Delorie <dj@delorie.com>2001-03-15 22:02:06 +0000
commit516013826f3ea98027abc62ba89432bf08ba01eb (patch)
tree5aa9e6f79c7b637fe07079a5356b89fefd3ada39 /libiberty
parent5d026e63979e1b9819bbfcfe070a8b86a54a85da (diff)
downloadgdb-516013826f3ea98027abc62ba89432bf08ba01eb.tar.gz
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/hashtab.c2
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];