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/bind/core_bind.cpp | |
| parent | 51ae90d7893fd392dd8938cc41c52081e5065794 (diff) | |
| download | godot-f9467ec1ea6c0dac2ea513b7dfe58d0349788e02.tar.gz godot-f9467ec1ea6c0dac2ea513b7dfe58d0349788e02.tar.zst godot-f9467ec1ea6c0dac2ea513b7dfe58d0349788e02.zip | |
Diffstat (limited to 'core/bind/core_bind.cpp')
| -rw-r--r-- | core/bind/core_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index abe8b9b71..a44609464 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1705,7 +1705,7 @@ Variant _File::get_var() const { ERR_FAIL_COND_V(!f, Variant()); uint32_t len = get_32(); PoolVector<uint8_t> buff = get_buffer(len); - ERR_FAIL_COND_V(buff.size() != len, Variant()); + ERR_FAIL_COND_V((uint32_t)buff.size() != len, Variant()); PoolVector<uint8_t>::Read r = buff.read(); |
