Merge pull request #19585 from alalek:hotfix_19540

This commit is contained in:
Alexander Alekhin 2021-02-20 22:54:55 +00:00
commit 6c57428742

View File

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