Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: tests/HashTest.cpp

Issue 917363002: fix windows build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698