diff options
author | David Robillard <d@drobilla.net> | 2020-08-13 17:25:57 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-13 17:25:57 +0200 |
commit | fc253203d7aa52d866e21576215de6c40c45f9c4 (patch) | |
tree | e06c737e09c771eb47dea34b7cb5c55c412c5934 /test | |
parent | ea0fd7ddc5086a553e7a94b16b46700af476f3dd (diff) | |
download | zix-fc253203d7aa52d866e21576215de6c40c45f9c4.tar.gz zix-fc253203d7aa52d866e21576215de6c40c45f9c4.tar.bz2 zix-fc253203d7aa52d866e21576215de6c40c45f9c4.zip |
Fix signed operands of bitwise operators
Diffstat (limited to 'test')
-rw-r--r-- | test/btree_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |