diff --git a/deps/ox/src/ox/std/reader.cpp b/deps/ox/src/ox/std/reader.cpp index 5f21556e..9c1ab5c6 100644 --- a/deps/ox/src/ox/std/reader.cpp +++ b/deps/ox/src/ox/std/reader.cpp @@ -42,11 +42,11 @@ ox::Result FileReader::read(char *v, std::size_t cnt) noexcept { } ox::Error FileReader::seekg(std::size_t p) noexcept { - return OxError(fseek(m_file, static_cast(p), SEEK_CUR) != 0); + return OxError(fseek(m_file, static_cast(p), SEEK_CUR) != 0); } ox::Error FileReader::seekg(int64_t p, ios_base::seekdir sd) noexcept { - return OxError(fseek(m_file, p, sdMap(sd)) != 0); + return OxError(fseek(m_file, static_cast(p), sdMap(sd)) != 0); } ox::Result FileReader::tellg() noexcept { diff --git a/deps/ox/src/ox/std/stacktrace.cpp b/deps/ox/src/ox/std/stacktrace.cpp index 8a23afcd..acbfdb46 100644 --- a/deps/ox/src/ox/std/stacktrace.cpp +++ b/deps/ox/src/ox/std/stacktrace.cpp @@ -26,7 +26,7 @@ namespace ox { #if defined(OX_USE_STDLIB) && __has_include() -[[nodiscard]] +[[nodiscard]] [[maybe_unused]] static auto symbolicate([[maybe_unused]]void **frames, [[maybe_unused]]std::size_t frameCnt, [[maybe_unused]]const char *linePrefix) {