fix windows build

BUG=skia:

Review URL: https://codereview.chromium.org/917363002
This commit is contained in:
Mike Klein 2015-02-12 16:41:57 -05:00
parent 05d9044de4
commit 201c98d08d

View 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;