summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_encrypted.h
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-08-31 23:30:35 +0200
committerHein-Pieter van Braam <hp@tmm.cx>2017-09-01 08:13:12 +0200
commitf9467ec1ea6c0dac2ea513b7dfe58d0349788e02 (patch)
tree05421200fdd55c97b3b60895597f487d8ac51afa /core/io/file_access_encrypted.h
parent51ae90d7893fd392dd8938cc41c52081e5065794 (diff)
downloadredot-engine-f9467ec1ea6c0dac2ea513b7dfe58d0349788e02.tar.gz
Fix signed and unsigned comparisons
The first in my quest to make Godot 3.x compile with -Werror on GCC7
Diffstat (limited to 'core/io/file_access_encrypted.h')
-rw-r--r--core/io/file_access_encrypted.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_encrypted.h b/core/io/file_access_encrypted.h
index 3df2806a7a..74d00a5a8f 100644
--- a/core/io/file_access_encrypted.h
+++ b/core/io/file_access_encrypted.h
@@ -48,7 +48,7 @@ private:
size_t base;
size_t length;
Vector<uint8_t> data;
- mutable size_t pos;
+ mutable int pos;
mutable bool eofed;
public: