mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 08:46:51 +08:00
Merge pull request #38 from amallia/patch-1
comparison between signed and unsigned integer
This commit is contained in:
commit
3c658bf611
@ -124,7 +124,7 @@ file_handle_type open_file(const String& path, const access_mode mode,
|
||||
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();
|
||||
#ifdef _WIN32
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user