mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
updated tests to vs 2015 and fix warning
This commit is contained in:
@@ -41,5 +41,5 @@ std::size_t get_filesize(const std::string& filename)
|
||||
if (!ifs)
|
||||
throw std::runtime_error("Failed open file ");
|
||||
|
||||
return ifs.tellg();
|
||||
return static_cast<std::size_t>(ifs.tellg());
|
||||
}
|
||||
|
Reference in New Issue
Block a user