diff --git a/deps/ox/src/ox/preloader/preloader.hpp b/deps/ox/src/ox/preloader/preloader.hpp index 3ae3a856..8bebd93a 100644 --- a/deps/ox/src/ox/preloader/preloader.hpp +++ b/deps/ox/src/ox/preloader/preloader.hpp @@ -247,7 +247,7 @@ constexpr ox::Error Preloader::field(CRStringView, const T **val, std: template constexpr ox::Result Preloader::startAlloc(std::size_t sz) noexcept { oxRequire(a, ox::allocate(&m_writer, sz)); - m_allocStack.emplace_back(static_cast(m_writer.tellp())); + m_allocStack.emplace_back(static_cast(m_writer.tellp())); oxReturnError(m_writer.seekp(a)); return a; } diff --git a/deps/ox/src/ox/preloader/sizecatcher.hpp b/deps/ox/src/ox/preloader/sizecatcher.hpp index 3668c6bd..132c9839 100644 --- a/deps/ox/src/ox/preloader/sizecatcher.hpp +++ b/deps/ox/src/ox/preloader/sizecatcher.hpp @@ -107,7 +107,7 @@ constexpr std::size_t sizeOf(const T *t) noexcept { if constexpr(ox::is_integral_v) { return sizeof(T); } else if constexpr(ox::is_pointer_v) { - return sizeof(PlatSpec::PtrType); + return sizeof(typename PlatSpec::PtrType); } else { SizeCatcher sc; const auto err = model(sc.interface(), t);