better support for file size in 64 bits

This commit is contained in:
gabime
2016-07-31 01:47:55 +03:00
parent 730f0e02a6
commit 74aede0c66
2 changed files with 18 additions and 22 deletions

View File

@@ -100,9 +100,7 @@ public:
{
if (!_fd)
throw spdlog_ex("Cannot use size() on closed file " + os::filename_to_str(_filename));
return os::filesize(_fd);
return os::filesize(_fd);
}
const filename_t& filename() const