diff options
| author | Juan Linietsky | 2017-12-15 09:04:57 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-12-15 09:04:57 -0300 |
| commit | 433cb6f490893a2d38cc46bbc7c7005cdb1281f8 (patch) | |
| tree | 9dc6eb04093f4eaebfc0f771a1817543558f07a7 /core/io/resource_format_binary.cpp | |
| parent | 251433847f85124d87f193ded4cd353e1f5bf5f5 (diff) | |
| download | godot-433cb6f490893a2d38cc46bbc7c7005cdb1281f8.tar.gz godot-433cb6f490893a2d38cc46bbc7c7005cdb1281f8.tar.zst godot-433cb6f490893a2d38cc46bbc7c7005cdb1281f8.zip | |
Diffstat (limited to 'core/io/resource_format_binary.cpp')
| -rw-r--r-- | core/io/resource_format_binary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index 0c195e03c..92fdbc158 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -104,7 +104,7 @@ StringName ResourceInteractiveLoaderBinary::_get_string() { uint32_t id = f->get_32(); if (id & 0x80000000) { - uint len = id & 0x7FFFFFFF; + uint32_t len = id & 0x7FFFFFFF; if (len > str_buf.size()) { str_buf.resize(len); } |
