diff --git a/test/goalc/test_arithmetic.cpp b/test/goalc/test_arithmetic.cpp index a71cb9ce4..fe4e89ef6 100644 --- a/test/goalc/test_arithmetic.cpp +++ b/test/goalc/test_arithmetic.cpp @@ -87,7 +87,7 @@ std::vector genIntegerTests(int numTests, tests.push_back(IntegerParam(dist6(rng), false, i)); break; case 1: - tests.push_back(IntegerParam(dist6(rng) * -1, false, i)); + tests.push_back(IntegerParam((s64)dist6(rng) * -1, false, i)); break; case 2: tests.push_back(IntegerParam(dist6(rng), true, i));