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

Unified Diff: ipc/ipc_perftests.cc

Issue 206853002: IPC: Fix size_t to int cast for Win64 build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@IPC_perftests
Patch Set: Created 6 years, 9 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: ipc/ipc_perftests.cc
diff --git a/ipc/ipc_perftests.cc b/ipc/ipc_perftests.cc
index d0d7e0d511ade8915840b1a64409dd31e7fd04a4..d4b1abdbc7e53b94fa3dcc72721e776cbf42d81b 100644
--- a/ipc/ipc_perftests.cc
+++ b/ipc/ipc_perftests.cc
@@ -233,7 +233,7 @@ TEST_F(IPCChannelPerfTest, Performance) {
// Test several sizes. We use 12^N for message size, and limit the message
// count to keep the test duration reasonable.
const size_t kMsgSize[5] = {12, 144, 1728, 20736, 248832};
- const size_t kMessageCount[5] = {50000, 50000, 50000, 12000, 1000};
+ const int kMessageCount[5] = {50000, 50000, 50000, 12000, 1000};
for (size_t i = 0; i < 5; i++) {
listener.SetTestParams(kMessageCount[i], kMsgSize[i]);
« 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