diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-12-15 09:04:57 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-12-15 09:04:57 -0300 |
commit | 433cb6f490893a2d38cc46bbc7c7005cdb1281f8 (patch) | |
tree | 9dc6eb04093f4eaebfc0f771a1817543558f07a7 | |
parent | 251433847f85124d87f193ded4cd353e1f5bf5f5 (diff) |
fix compile issue
-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 0c195e03cb..92fdbc1581 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); } |