diff --git a/deps/buildcore/scripts/util.py b/deps/buildcore/scripts/util.py index 383ee5f4..44709247 100644 --- a/deps/buildcore/scripts/util.py +++ b/deps/buildcore/scripts/util.py @@ -35,4 +35,6 @@ def get_arch() -> str: arch = platform.machine().lower() if arch == 'amd64': arch = 'x86_64' + elif arch == 'aarch64': + arch = 'arm64' return arch diff --git a/deps/ox/src/ox/std/reader.cpp b/deps/ox/src/ox/std/reader.cpp index 01596006..8b27729a 100644 --- a/deps/ox/src/ox/std/reader.cpp +++ b/deps/ox/src/ox/std/reader.cpp @@ -32,7 +32,7 @@ ox::Result StreamReader::peek() const noexcept { try { char c{}; m_strm.get(c); - auto const ok = c != EOF; + auto const ok = c != static_cast(EOF); if (ok && m_strm.unget()) [[unlikely]] { return ox::Error(1, "Unable to unget character"); }