aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@google.com>2015-02-12 16:41:57 -0500
committerGravatar Mike Klein <mtklein@google.com>2015-02-12 16:41:57 -0500
commit201c98d08da4cee9997c339b3824310ddc6f7d12 (patch)
tree8d758324a26842bf06ac7d75208c373a85b3a5a2 /tests
parent05d9044de4f1c6e791df66a425638752daac4c6b (diff)
fix windows build
Diffstat (limited to 'tests')
-rw-r--r--tests/HashTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/HashTest.cpp b/tests/HashTest.cpp
index 24032a5ec5..3dd2df4e3c 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;