mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
Fix more issues found by cppcheck.
This commit is contained in:
parent
f4b0c7a1ea
commit
de4c97758a
63 changed files with 261 additions and 268 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue