From 19c73680cf54999042e6443586aeaae5546c8896 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Oct 2023 17:53:29 +0200 Subject: [PATCH] io/FileReader: use uint_least64_t --- src/io/FileReader.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io/FileReader.hxx b/src/io/FileReader.hxx index 476ccea7d..431f9afa2 100644 --- a/src/io/FileReader.hxx +++ b/src/io/FileReader.hxx @@ -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;