You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
committed by
Rémi Verschelde
parent
a3072aa35e
commit
b902a2f2a7
@@ -1309,7 +1309,7 @@ void ResourceFormatSaverBinaryInstance::write_variant(FileAccess *f, const Varia
|
||||
case Variant::INT: {
|
||||
|
||||
int64_t val = p_property;
|
||||
if (val > 0x7FFFFFFF || val < -0x80000000) {
|
||||
if (val > 0x7FFFFFFF || val < -(int64_t)0x80000000) {
|
||||
f->store_32(VARIANT_INT64);
|
||||
f->store_64(val);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user