io/FileReader: use uint_least64_t
This commit is contained in:
parent
a9ba9a5f92
commit
19c73680cf
@ -67,7 +67,7 @@ public:
|
|||||||
FileInfo GetFileInfo() const;
|
FileInfo GetFileInfo() const;
|
||||||
|
|
||||||
[[gnu::pure]]
|
[[gnu::pure]]
|
||||||
uint64_t GetSize() const noexcept {
|
uint_least64_t GetSize() const noexcept {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
LARGE_INTEGER size;
|
LARGE_INTEGER size;
|
||||||
return GetFileSizeEx(handle, &size)
|
return GetFileSizeEx(handle, &size)
|
||||||
@ -79,7 +79,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
[[gnu::pure]]
|
[[gnu::pure]]
|
||||||
uint64_t GetPosition() const noexcept {
|
uint_least64_t GetPosition() const noexcept {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
LARGE_INTEGER zero;
|
LARGE_INTEGER zero;
|
||||||
zero.QuadPart = 0;
|
zero.QuadPart = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user