Index: tests/HashTest.cpp |
diff --git a/tests/HashTest.cpp b/tests/HashTest.cpp |
index 24032a5ec5652dc6f3d150fe175414b24af1f72a..3dd2df4e3c6b9aa9734c159047843e1d2e64f0dc 100644 |
--- a/tests/HashTest.cpp |
+++ b/tests/HashTest.cpp |
@@ -41,7 +41,7 @@ DEF_TEST(HashMap, r) { |
REPORTER_ASSERT(r, map.count() == N); |
} |
-namespace { uint32_t hash_string(SkString s) { return s.size(); } } |
+namespace { uint32_t hash_string(SkString s) { return (uint32_t)s.size(); } } |
DEF_TEST(HashSet, r) { |
SkTHashSet<SkString, hash_string> set; |