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

Unified Diff: media/cast/test/transport/transport.cc

Issue 70873002: Fix Win64 build error. (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
« 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: media/cast/test/transport/transport.cc
===================================================================
--- media/cast/test/transport/transport.cc (revision 234554)
+++ media/cast/test/transport/transport.cc (working copy)
@@ -103,7 +103,8 @@
scoped_refptr<net::WrappedIOBuffer> buffer(
new net::WrappedIOBuffer(reinterpret_cast<const char*>(data)));
int rv = udp_socket_->SendTo(
- buffer.get(), packet.size(), send_address_, callback.callback());
+ buffer.get(), static_cast<int>(packet.size()), send_address_,
+ callback.callback());
return (rv == packet.size());
}
« 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