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

Unified Diff: mojo/public/bindings/lib/connector.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/public/bindings/lib/connector.cc
===================================================================
--- mojo/public/bindings/lib/connector.cc (revision 233919)
+++ mojo/public/bindings/lib/connector.cc (working copy)
@@ -118,7 +118,7 @@
message->data,
message->data->header.num_bytes,
message->handles.data(),
- message->handles.size(),
+ static_cast<uint32_t>(message->handles.size()),
MOJO_WRITE_MESSAGE_FLAG_NONE);
if (rv == MOJO_RESULT_OK) {
// TODO(darin): Handles were successfully transferred, and so we need

Powered by Google App Engine
This is Rietveld 408576698