updated tests to vs 2015 and fix warning

This commit is contained in:
gabime
2016-07-11 18:58:00 +03:00
parent 3aef25c948
commit 34ef00c8bc
3 changed files with 3 additions and 5 deletions

View File

@@ -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());
}