Merge pull request #38 from amallia/patch-1

comparison between signed and unsigned integer
This commit is contained in:
mandreyel 2019-02-02 21:53:04 +01:00 committed by GitHub
commit 3c658bf611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ file_handle_type open_file(const String& path, const access_mode mode,
return handle; return handle;
} }
inline int64_t query_file_size(file_handle_type handle, std::error_code& error) inline size_t query_file_size(file_handle_type handle, std::error_code& error)
{ {
error.clear(); error.clear();
#ifdef _WIN32 #ifdef _WIN32