io/FileReader: use uint_least64_t

This commit is contained in:
Max Kellermann 2023-10-05 17:53:29 +02:00
parent a9ba9a5f92
commit 19c73680cf
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ public:
FileInfo GetFileInfo() const;
[[gnu::pure]]
uint64_t GetSize() const noexcept {
uint_least64_t GetSize() const noexcept {
#ifdef _WIN32
LARGE_INTEGER size;
return GetFileSizeEx(handle, &size)
@ -79,7 +79,7 @@ public:
}
[[gnu::pure]]
uint64_t GetPosition() const noexcept {
uint_least64_t GetPosition() const noexcept {
#ifdef _WIN32
LARGE_INTEGER zero;
zero.QuadPart = 0;