summaryrefslogtreecommitdiff
path: root/src/enums/enums_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums/enums_unittest.cc')
-rw-r--r--src/enums/enums_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enums/enums_unittest.cc b/src/enums/enums_unittest.cc
index 5c416a495..b1052908d 100644
--- a/src/enums/enums_unittest.cc
+++ b/src/enums/enums_unittest.cc
@@ -28,8 +28,8 @@
TEST_CASE("Gender", "Enums")
{
- REQUIRE(static_cast<int>(Gender::FEMALE) == 1);
+ REQUIRE(CAST_S32(Gender::FEMALE) == 1);
REQUIRE(Gender::FEMALE == static_cast<GenderT>(1));
- REQUIRE(static_cast<int>(Gender::MALE) == 0);
+ REQUIRE(CAST_S32(Gender::MALE) == 0);
REQUIRE(Gender::MALE == static_cast<GenderT>(0));
}