diff options
author | 2015-02-12 16:41:57 -0500 | |
---|---|---|
committer | 2015-02-12 16:41:57 -0500 | |
commit | 201c98d08da4cee9997c339b3824310ddc6f7d12 (patch) | |
tree | 8d758324a26842bf06ac7d75208c373a85b3a5a2 /tests | |
parent | 05d9044de4f1c6e791df66a425638752daac4c6b (diff) |
fix windows build
BUG=skia:
Review URL: https://codereview.chromium.org/917363002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/HashTest.cpp | 2 |
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; |