diff options
author | cperciva <cperciva@FreeBSD.org> | 2014-09-27 09:00:38 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2014-09-27 09:00:38 +0000 |
commit | a742fc39b4772b875eb540b6934da3350e9086e2 (patch) | |
tree | 8e2df76b0bdde221c9133d127b4506787e35922e /games/factor | |
parent | 0d3437c89c0362a97db627be97564083305c763f (diff) | |
download | FreeBSD-src-a742fc39b4772b875eb540b6934da3350e9086e2.zip FreeBSD-src-a742fc39b4772b875eb540b6934da3350e9086e2.tar.gz |
Switch primes(6) from using unsigned long to using uint64_t. This fixes
'limited range of type' warnings about comparisons on 32-bit systems, and
allows 32-bit systems to compute the full range of primes.
Diffstat (limited to 'games/factor')
-rw-r--r-- | games/factor/factor.6 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/games/factor/factor.6 b/games/factor/factor.6 index 508a98b..ba82f14 100644 --- a/games/factor/factor.6 +++ b/games/factor/factor.6 @@ -89,8 +89,7 @@ The value must not be greater than the maximum. The default and maximum value of .Ar stop -is 4294967295 on 32-bit architectures -and 3825123056546413050 on 64-bit ones. +is 3825123056546413050. .Pp When the .Nm primes |