summaryrefslogtreecommitdiff
path: root/tests/rand
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2013-09-21 11:39:43 +0200
committerMarc Glisse <marc.glisse@inria.fr>2013-09-21 11:39:43 +0200
commitb1d6f34d229e5c6493b1fc9593254f11a17767af (patch)
tree9d70a3f78421ed7d3ab8586a3068d8ede177049c /tests/rand
parent7db6caf2ba892581c9e9cbf8c75dcc04a4a3d14c (diff)
downloadgmp-b1d6f34d229e5c6493b1fc9593254f11a17767af.tar.gz
Remove 2 clang warnings in the testsuite (printf argument type mismatch and signed overflow).
Diffstat (limited to 'tests/rand')
-rw-r--r--tests/rand/t-urbui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rand/t-urbui.c b/tests/rand/t-urbui.c
index 23ef0a01d..59d80e0bb 100644
--- a/tests/rand/t-urbui.c
+++ b/tests/rand/t-urbui.c
@@ -35,7 +35,7 @@ check_one (const char *name, gmp_randstate_ptr rstate)
for (bits = 0; bits < BITS_PER_ULONG; bits++)
{
/* will demand got < limit */
- limit = (1L << bits);
+ limit = (1UL << bits);
for (i = 0; i < 5; i++)
{