From 433cb6f490893a2d38cc46bbc7c7005cdb1281f8 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 15 Dec 2017 09:04:57 -0300 Subject: [PATCH] fix compile issue --- core/io/resource_format_binary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index 0c195e03cba..92fdbc15812 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); }