diff --git a/tests/utils.cpp b/tests/utils.cpp index 45972306..56e04d08 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -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(ifs.tellg()); } // source: https://stackoverflow.com/a/2072890/192001