diff options
author | rubidium <rubidium@openttd.org> | 2009-01-23 09:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-23 09:47:46 +0000 |
commit | 93b8a6fb3e972eb15c12ac3f5ebf1ed0791f8d74 (patch) | |
tree | fe611541ce0afe369e2bc515562c67902993baed | |
parent | c4cc8712af0d532fa2f58ba7755c41b8a05b79e4 (diff) | |
download | openttd-93b8a6fb3e972eb15c12ac3f5ebf1ed0791f8d74.tar.xz |
(svn r15220) -Fix (r15216): signedness warning
-rw-r--r-- | src/saveload/oldloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp index 2411a675e..1d17cb55c 100644 --- a/src/saveload/oldloader.cpp +++ b/src/saveload/oldloader.cpp @@ -222,7 +222,7 @@ static bool VerifyOldNameChecksum(char *title, uint len) static inline bool CheckOldSavegameType(FILE *f, char *temp, const char *last, uint len) { - assert(last - temp + 1 >= len); + assert(last - temp + 1 >= (int)len); fseek(f, 0, SEEK_SET); if (fread(temp, 1, len, f) != len) { |