We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2606eef commit f9969daCopy full SHA for f9969da
src/util/macros.h
@@ -30,7 +30,7 @@ inline char* C_STRING(v8::Local<v8::String> string) {
30
31
// Given a double, returns whether the number is a valid 32-bit signed integer.
32
inline bool IS_32BIT_INT(double num) {
33
- return floor(num) == num && num < 2147483648 && num >= -2147483648;
+ return floor(num) == num && num < 2147483648L && num >= -2147483647L - 1;
34
}
35
36
// Creates a stack-allocated std:string of the concatenation of 2 well-formed
0 commit comments