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

Unified Diff: ipc/ipc_message_utils.cc

Issue 2821028: Up the warnings in ipc (take 2)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
Index: ipc/ipc_message_utils.cc
===================================================================
--- ipc/ipc_message_utils.cc (revision 53465)
+++ ipc/ipc_message_utils.cc (working copy)
@@ -55,7 +55,7 @@
}
case Value::TYPE_BINARY: {
const BinaryValue* binary = static_cast<const BinaryValue*>(value);
- m->WriteData(binary->GetBuffer(), binary->GetSize());
+ m->WriteData(binary->GetBuffer(), static_cast<int>(binary->GetSize()));
break;
}
case Value::TYPE_DICTIONARY: {
« ipc/ipc_logging.cc ('K') | « ipc/ipc_logging.cc ('k') | ipc/ipc_sync_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698