From fc253203d7aa52d866e21576215de6c40c45f9c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Aug 2020 17:25:57 +0200 Subject: Fix signed operands of bitwise operators --- test/btree_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/btree_test.c') diff --git a/test/btree_test.c b/test/btree_test.c index a54d38a..67419be 100644 --- a/test/btree_test.c +++ b/test/btree_test.c @@ -34,7 +34,7 @@ static bool expect_failure = false; static uintptr_t unique_rand(size_t i) { - i ^= 0x00005CA1E; // Juggle bits to avoid linear clumps + i ^= 0x00005CA1Eu; // Juggle bits to avoid linear clumps // Largest prime < 2^32 which satisfies (2^32 = 3 mod 4) static const uint32_t prime = 4294967291; -- cgit v1.2.1