Changeset - r10885:3eae9b8c8880
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2009-01-23 09:47:46
rubidium@openttd.org
(svn r15220) -Fix (r15216): signedness warning
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/oldloader.cpp
Show inline comments
 
@@ -222,7 +222,7 @@ static bool VerifyOldNameChecksum(char *
 

	
 
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) {
0 comments (0 inline, 0 general)