Fix more issues found by cppcheck.
This commit is contained in:
63 files changed
+261
-268
No files matched your search
@@ -207,7 +207,7 @@ int JavaScriptObjectImpl::_variant2js(const void **p_args, int p_pos, godot_js_w
|
||||
break;
|
||||
case Variant::INT: {
|
||||
const int64_t tmp = v->operator int64_t();
|
||||
if (tmp >= 1 << 31) {
|
||||
if (tmp >= 1LL << 31) {
|
||||
r_val->r = (double)tmp;
|
||||
return Variant::FLOAT;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user