Index: tests/Time.cpp |
diff --git a/tests/Time.cpp b/tests/Time.cpp |
index 60dcd5527cdc5a2f30c8f55655c022323455c219..cf4f80f9dae588a36cf54fe7bd5f7421a5c8d5db 100644 |
--- a/tests/Time.cpp |
+++ b/tests/Time.cpp |
@@ -44,7 +44,7 @@ DEF_TEST(Time_GetDateTime, r) { |
// The westernmost timezone is -12:00. |
// The easternmost timezone is +14:00. |
- REPORTER_ASSERT(r, abs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60); |
+ REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60); |
SkString timeStamp; |
dateTime.toISO8601(&timeStamp); |