fix windows build
authorMike Klein <mtklein@google.com>
Thu, 12 Feb 2015 21:41:57 +0000 (16:41 -0500)
committerMike Klein <mtklein@google.com>
Thu, 12 Feb 2015 21:41:57 +0000 (16:41 -0500)
BUG=skia:

Review URL: https://codereview.chromium.org/917363002

tests/HashTest.cpp

index 24032a5..3dd2df4 100644 (file)
@@ -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;