Fixed test for macos

This commit is contained in:
gabime 2025-01-04 21:14:59 +02:00
parent f5e60a7c1f
commit 2d88c012e4

View File

@ -51,7 +51,7 @@ std::size_t get_filesize(const std::string &filename) {
throw std::runtime_error("Failed open file ");
}
return ifs.tellg();
return static_cast<size_t>(ifs.tellg());
}
// source: https://stackoverflow.com/a/2072890/192001