Skip to content

Commit 78656d4

Browse files
committed
Fixed constant is too large for 'long' warning on mips -mabi=n32.
Prodded by Orgad Shaneh.
1 parent 98ac2d7 commit 78656d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/njs_clang.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ njs_leading_zeros64(uint64_t x)
111111

112112
n = 0;
113113

114-
while ((x & 0x8000000000000000) == 0) {
114+
while ((x & 0x8000000000000000ULL) == 0) {
115115
n++;
116116
x <<= 1;
117117
}

0 commit comments

Comments
 (0)