Skip to content

Commit 9e7bbf6

Browse files
committed
UINT64_C -> ULL
1 parent d151674 commit 9e7bbf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/random/random.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ PHP_METHOD(Random_Engine_XorShift128Plus, jump)
15131513

15141514
for (i = 0; i < sizeof (jmp) / sizeof (*jmp); i++) {
15151515
for (j = 0; j < 64; j++) {
1516-
if (jmp[i] & UINT64_C(1) << j) {
1516+
if (jmp[i] & 1ULL << j) {
15171517
s0 ^= s->s[0];
15181518
s1 ^= s->s[1];
15191519
}
@@ -1613,7 +1613,7 @@ PHP_METHOD(Random_Engine_Xoshiro256StarStar, jumpLong)
16131613

16141614
for (i = 0; i < sizeof(jmp) / sizeof(*jmp); i++) {
16151615
for (j = 0; j < 64; j++) {
1616-
if (jmp[i] & UINT64_C(1) << j) {
1616+
if (jmp[i] & 1ULL << j) {
16171617
s0 ^= s->s[0];
16181618
s1 ^= s->s[1];
16191619
s2 ^= s->s[2];

0 commit comments

Comments
 (0)