Mapper: don't use C-style prototypes

This commit is contained in:
Max Kellermann
2015-03-24 20:38:29 +01:00
parent f1f871f103
commit 7f3518333d
2 changed files with 5 additions and 3 deletions

View File

@@ -97,7 +97,8 @@ protected:
#ifdef WIN32
bool SeekEOF() {
return SetFilePointer(handle, 0, nullptr, FILE_END);
return SetFilePointer(handle, 0, nullptr,
FILE_END) != 0xffffffff;
}
#endif