mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 09:09:35 +08:00
Fix test
This commit is contained in:
@@ -52,7 +52,7 @@ std::size_t get_filesize(const std::string &filename) {
|
||||
if (!ifs) {
|
||||
throw std::runtime_error("Failed open file " + filename);
|
||||
}
|
||||
return ifs.tellg();
|
||||
return static_cast<std::size_t>(ifs.tellg());
|
||||
}
|
||||
|
||||
// source: https://stackoverflow.com/a/2072890/192001
|
||||
|
Reference in New Issue
Block a user