Reverting r12315 (More Windows 64b compilation warning fixes) due to compilation failures
git-svn-id: http://skia.googlecode.com/svn/trunk@12316 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index ab9aba1..83d3dee 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -450,13 +450,13 @@
// Find the longest name of the benches we're going to run to make the output pretty.
Iter names;
SkBenchmark* bench;
- size_t longestName = 0;
+ int longestName = 0;
while ((bench = names.next()) != NULL) {
SkAutoTUnref<SkBenchmark> benchUnref(bench);
if (SkCommandLineFlags::ShouldSkip(FLAGS_match, bench->getName())) {
continue;
}
- const size_t length = strlen(bench->getName());
+ const int length = strlen(bench->getName());
longestName = length > longestName ? length : longestName;
}