build warning (windows 32-bit)

This commit is contained in:
Alexander Alekhin 2021-02-20 18:30:49 +00:00
parent c131c12fd7
commit 6d81a88288

View File

@ -12,7 +12,7 @@ size_t getFileSize(const string& filename)
if (ifs.is_open()) if (ifs.is_open())
{ {
ifs.seekg(0, std::ios::end); ifs.seekg(0, std::ios::end);
return ifs.tellg(); return (size_t)ifs.tellg();
} }
return 0; return 0;
} }