diff options
| author | Hein-Pieter van Braam | 2017-08-31 23:30:35 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2017-09-01 08:13:12 +0200 |
| commit | f9467ec1ea6c0dac2ea513b7dfe58d0349788e02 (patch) | |
| tree | 05421200fdd55c97b3b60895597f487d8ac51afa /core/io/xml_parser.cpp | |
| parent | 51ae90d7893fd392dd8938cc41c52081e5065794 (diff) | |
| download | godot-f9467ec1ea6c0dac2ea513b7dfe58d0349788e02.tar.gz godot-f9467ec1ea6c0dac2ea513b7dfe58d0349788e02.tar.zst godot-f9467ec1ea6c0dac2ea513b7dfe58d0349788e02.zip | |
Diffstat (limited to 'core/io/xml_parser.cpp')
| -rw-r--r-- | core/io/xml_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/xml_parser.cpp b/core/io/xml_parser.cpp index 62110bfe2..3a4be7cd1 100644 --- a/core/io/xml_parser.cpp +++ b/core/io/xml_parser.cpp @@ -385,7 +385,7 @@ void XMLParser::_bind_methods() { Error XMLParser::read() { // if not end reached, parse the node - if (P && (P - data) < length - 1 && *P != 0) { + if (P && (P - data) < (int64_t)length - 1 && *P != 0) { _parse_current_node(); return OK; } |
