]> gcc.gnu.org Git - gcc.git/commitdiff
(__stl_prime_list): Mark last two numbers as unsigned long since they are...
authorUlrich Drepper <drepper@cygnus.com>
Tue, 7 Apr 1998 18:39:16 +0000 (18:39 +0000)
committerUlrich Drepper <drepper@gcc.gnu.org>
Tue, 7 Apr 1998 18:39:16 +0000 (18:39 +0000)
(__stl_prime_list): Mark last two numbers as
unsigned long since they are otherwise too large for long int on
32bit machines.

From-SVN: r19034

libstdc++/stl/ChangeLog
libstdc++/stl/stl_hashtable.h

index 5605d7c323e466fdaa3b37f73255b5d7b752f765..4afbb7105d02354e463fbd4981503a91e0f6f4af 100644 (file)
@@ -1,3 +1,9 @@
+1998-04-07 18:32  Ulrich Drepper  <drepper@cygnus.com>
+
+       * stl_hashtable.h (__stl_prime_list): Mark last two numbers as
+       unsigned long since they are otherwise too large for long int on
+       32bit machines.
+
 Fri Feb 20 16:15:05 1998  H.J. Lu  (hjl@gnu.org)
                          Jason Merrill  <jason@yorick.cygnus.com>
 
index fbe974dd56c77cb394d1eb185f9529c4596085ac..e5b63b271de20dc1a5d913f42e2efe8a5ce9f4fd 100644 (file)
@@ -142,12 +142,12 @@ struct __hashtable_const_iterator {
 static const int __stl_num_primes = 28;
 static const unsigned long __stl_prime_list[__stl_num_primes] =
 {
-  53,         97,         193,       389,       769,
-  1543,       3079,       6151,      12289,     24593,
-  49157,      98317,      196613,    393241,    786433,
-  1572869,    3145739,    6291469,   12582917,  25165843,
-  50331653,   100663319,  201326611, 402653189, 805306457, 
-  1610612741, 3221225473, 4294967291
+  53,         97,           193,         389,       769,
+  1543,       3079,         6151,        12289,     24593,
+  49157,      98317,        196613,      393241,    786433,
+  1572869,    3145739,      6291469,     12582917,  25165843,
+  50331653,   100663319,    201326611,   402653189, 805306457, 
+  1610612741, 3221225473ul, 4294967291ul
 };
 
 inline unsigned long __stl_next_prime(unsigned long n)
This page took 0.064432 seconds and 5 git commands to generate.