summaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2014-05-29 04:14:16 (GMT)
committerJason Evans <je@fb.com>2014-05-29 04:17:42 (GMT)
commit1f6d77e1f687c3c4fa4ae6768b689a7936923f07 (patch)
treee02594641679ee59c75376c0d11dc8de2f0baa7c /test/src
parentd04047cc29bbc9d1f87a9346d1601e3dd87b6ca0 (diff)
downloadjemalloc-1f6d77e1f687c3c4fa4ae6768b689a7936923f07.zip
jemalloc-1f6d77e1f687c3c4fa4ae6768b689a7936923f07.tar.gz
jemalloc-1f6d77e1f687c3c4fa4ae6768b689a7936923f07.tar.bz2
Use KQU() rather than QU() where applicable.
Fix KZI() and KQI() to append LL rather than ULL.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/SFMT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/SFMT.c b/test/src/SFMT.c
index d2cc9d1..22a5ac5 100644
--- a/test/src/SFMT.c
+++ b/test/src/SFMT.c
@@ -511,7 +511,7 @@ uint64_t gen_rand64(sfmt_t *ctx) {
uint64_t gen_rand64_range(sfmt_t *ctx, uint64_t limit) {
uint64_t ret, above;
- above = 0xffffffffffffffffULL - (0xffffffffffffffffULL % limit);
+ above = KQU(0xffffffffffffffff) - (KQU(0xffffffffffffffff) % limit);
while (1) {
ret = gen_rand64(ctx);
if (ret < above) {