Index: net/proxy/proxy_resolver_perftest.cc |
=================================================================== |
--- net/proxy/proxy_resolver_perftest.cc (revision 11071) |
+++ net/proxy/proxy_resolver_perftest.cc (working copy) |
@@ -23,7 +23,7 @@ |
}; |
// Entry listing which PAC scripts to load, and which URLs to try resolving. |
-// |queries| should be terminated by {NULL, NULL}. A sentinel is used |
+// |queries| should be terminated by {NULL, NULL}. A sentinel is used |
// rather than a length, to simplify using initializer lists. |
struct PacPerfTest { |
const char* pac_name; |
@@ -57,7 +57,7 @@ |
}; |
int PacPerfTest::NumQueries() const { |
- for (int i = 0; i < arraysize(queries); ++i) { |
+ for (size_t i = 0; i < arraysize(queries); ++i) { |
if (queries[i].query_url == NULL) |
return i; |
} |