Third wave of Win64 warning cleanup
https://codereview.chromium.org/27487003/
git-svn-id: http://skia.googlecode.com/svn/trunk@11817 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index 944b114..ae20a8d 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -331,7 +331,7 @@
bool runDefaultConfigs = false;
// Try user-given configs first.
for (int i = 0; i < FLAGS_config.count(); i++) {
- for (size_t j = 0; j < SK_ARRAY_COUNT(gConfigs); j++) {
+ for (int j = 0; j < static_cast<int>(SK_ARRAY_COUNT(gConfigs)); ++j) {
if (0 == strcmp(FLAGS_config[i], gConfigs[j].name)) {
*configs.append() = j;
} else if (0 == strcmp(FLAGS_config[i], kDefaultsConfigStr)) {
@@ -341,7 +341,7 @@
}
// If there weren't any, fill in with defaults.
if (runDefaultConfigs) {
- for (size_t i = 0; i < SK_ARRAY_COUNT(gConfigs); ++i) {
+ for (int i = 0; i < static_cast<int>(SK_ARRAY_COUNT(gConfigs)); ++i) {
if (gConfigs[i].runByDefault) {
*configs.append() = i;
}