diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-03-29 22:31:54 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-03-29 22:31:54 +0100 |
commit | fd6f842d06c0d91062685ed3066332906c56d521 (patch) | |
tree | 5716d22567f1e6486bf9738e99a34a2286d2d4f2 /tests/rand | |
parent | 3bbdb5033f74fc967dc53ead98fc8cd40ab36735 (diff) | |
download | gmp-fd6f842d06c0d91062685ed3066332906c56d521.tar.gz |
Correction to:
* tests/rand/t-urbui.c, tests/rand/t-urmui.c: New files.
Need a long "1" setting up limit, since int can be smaller than long.
Diffstat (limited to 'tests/rand')
-rw-r--r-- | tests/rand/t-urbui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rand/t-urbui.c b/tests/rand/t-urbui.c index 5ece55044..c515eb863 100644 --- a/tests/rand/t-urbui.c +++ b/tests/rand/t-urbui.c @@ -36,7 +36,7 @@ check_one (const char *name, gmp_randstate_ptr rstate) for (bits = 0; bits < BITS_PER_ULONG; bits++) { /* will demand got < limit */ - limit = (1 << bits); + limit = (1L << bits); for (i = 0; i < 5; i++) { |