Browse Source

fix compile issue

Juan Linietsky 7 years ago
parent
commit
433cb6f490
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/io/resource_format_binary.cpp

+ 1 - 1
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);
 		}