mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03:00
Use ULL prefix instead of LLU for unsigned long longs
MSVC only supports the former.
This commit is contained in:
parent
3a730dfd50
commit
a9df1ae622
3 changed files with 1005 additions and 1005 deletions
|
|
@ -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 = 0xffffffffffffffffLLU - (0xffffffffffffffffLLU % limit);
|
||||
above = 0xffffffffffffffffULL - (0xffffffffffffffffULL % limit);
|
||||
while (1) {
|
||||
ret = gen_rand64(ctx);
|
||||
if (ret < above) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue