diff --git a/deps/ox/src/ox/std/test/tests.cpp b/deps/ox/src/ox/std/test/tests.cpp index 3c81933f..815d66cc 100644 --- a/deps/ox/src/ox/std/test/tests.cpp +++ b/deps/ox/src/ox/std/test/tests.cpp @@ -153,7 +153,8 @@ static std::map tests = { oxExpect(ox::serialize(4).unwrap(), BA({4, 0, 0, 0})); oxExpect(ox::serialize(256).unwrap(), BA({0, 1, 0, 0})); oxExpect(ox::serialize(257).unwrap(), BA({1, 1, 0, 0})); - oxExpect(ox::serialize(0xffff'ffff).unwrap(), BA({-1, -1, -1, -1})); + constexpr auto neg1 = static_cast(-1); // ARM64 Linux assumes -1 literals are ints... + oxExpect(ox::serialize(0xffff'ffff).unwrap(), BA({neg1, neg1, neg1, neg1})); return OxError(0); } },