diff options
Diffstat (limited to 'games/primes/primes.h')
-rw-r--r-- | games/primes/primes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/primes/primes.h b/games/primes/primes.h index ae993d6240d..42b321ba089 100644 --- a/games/primes/primes.h +++ b/games/primes/primes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: primes.h,v 1.2 1999/09/25 15:52:20 pjanzen Exp $ */ +/* $OpenBSD: primes.h,v 1.3 2001/08/19 17:12:43 pjanzen Exp $ */ /* $NetBSD: primes.h,v 1.4 1995/03/23 08:35:58 cgd Exp $ */ /* @@ -48,8 +48,8 @@ */ /* ubig is the type that holds a large unsigned value */ -typedef unsigned long ubig; /* must be >=32 bit unsigned value */ -#define BIG ULONG_MAX /* largest value will sieve */ +typedef u_int32_t ubig; /* must be 32 bit unsigned value */ +#define BIG 0xffffffffU /* largest value will sieve */ /* bytes in sieve table (must be > 3*5*7*11) */ #define TABSIZE 256*1024 |