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

Unified Diff: mojo/system/message_pipe_unittest.cc

Issue 64623003: Fix win64 build failure on size truncation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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
Index: mojo/system/message_pipe_unittest.cc
===================================================================
--- mojo/system/message_pipe_unittest.cc (revision 233919)
+++ mojo/system/message_pipe_unittest.cc (working copy)
@@ -214,7 +214,7 @@
uint32_t buffer_size;
// Write some messages from port 1 (to port 0).
- for (size_t i = 0; i < 5; i++) {
+ for (int32_t i = 0; i < 5; i++) {
viettrungluu 2013/11/08 19:02:10 Hey, this was actually me! Oops.
buffer[0] = i;
EXPECT_EQ(MOJO_RESULT_OK,
mp->WriteMessage(1,

Powered by Google App Engine
This is Rietveld 408576698