diff --git a/tests/math_test.cpp b/tests/math_test.cpp index 690b55f..1eafb64 100644 --- a/tests/math_test.cpp +++ b/tests/math_test.cpp @@ -75,25 +75,25 @@ TEST_CASE("ceilLog2", "[math]") REQUIRE(ii == bx::ceilLog2(uint8_t(1<(0x55) ); STATIC_REQUIRE( 8 == bx::countBits(0x5555) ); STATIC_REQUIRE(16 == bx::countBits(0x55555555) ); - STATIC_REQUIRE(32 == bx::countBits(0x5555555555555555) ); + STATIC_REQUIRE(32 == bx::countBits(0x5555555555555555ull) ); STATIC_REQUIRE( 8 == bx::countBits(UINT8_MAX) ); STATIC_REQUIRE(16 == bx::countBits(UINT16_MAX) ); @@ -696,7 +696,7 @@ TEST_CASE("copySign", "[math][libm]") TEST_CASE("bitsToFloat, floatToBits, bitsToDouble, doubleToBits", "[math]") { STATIC_REQUIRE(0x12345678u == bx::floatToBits( bx::bitsToFloat (0x12345678u) ) ); - STATIC_REQUIRE(0x123456789abcdef0llu == bx::doubleToBits(bx::bitsToDouble(0x123456789abcdef0llu) ) ); + STATIC_REQUIRE(0x123456789abcdef0ull == bx::doubleToBits(bx::bitsToDouble(0x123456789abcdef0ull) ) ); } TEST_CASE("lerp", "[math]")