Second wave of Win64 warning cleanup
https://codereview.chromium.org/27343002/
git-svn-id: http://skia.googlecode.com/svn/trunk@11778 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/FontCacheBench.cpp b/bench/FontCacheBench.cpp
index c682f43..a52fd42 100644
--- a/bench/FontCacheBench.cpp
+++ b/bench/FontCacheBench.cpp
@@ -20,7 +20,7 @@
while (*curr != gUniqueGlyphIDs_Sentinel) {
curr += 1;
}
- return curr - start;
+ return static_cast<int>(curr - start);
}
class FontCacheBench : public SkBenchmark {
@@ -39,7 +39,7 @@
const uint16_t* array = gUniqueGlyphIDs;
while (*array != gUniqueGlyphIDs_Sentinel) {
- size_t count = count_glyphs(array);
+ int count = count_glyphs(array);
for (int i = 0; i < this->getLoops(); ++i) {
paint.measureText(array, count * sizeof(uint16_t));
}