diff options
Diffstat (limited to 'src/lib/util/corefile.h')
-rw-r--r-- | src/lib/util/corefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/corefile.h b/src/lib/util/corefile.h index 315645d4e2c..fda5015d8ba 100644 --- a/src/lib/util/corefile.h +++ b/src/lib/util/corefile.h @@ -77,7 +77,7 @@ public: virtual char *gets(char *s, int n) = 0; // open a file with the specified filename, read it into memory, and return a pointer - static std::error_condition load(std::string_view filename, void **data, std::uint32_t &length) noexcept; + static std::error_condition load(std::string_view filename, void **data, std::size_t &length) noexcept; static std::error_condition load(std::string_view filename, std::vector<uint8_t> &data) noexcept; |