Skip to content

Commit

Permalink
io/FileReader: use uint_least64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Oct 7, 2023
1 parent a9ba9a5 commit 19c7368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/FileReader.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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;
Expand Down

0 comments on commit 19c7368

Please sign in to comment.