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

Unified Diff: runtime/bin/socket.cc

Issue 9249052: Fix type error (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 11 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: runtime/bin/socket.cc
===================================================================
--- runtime/bin/socket.cc (revision 3628)
+++ runtime/bin/socket.cc (working copy)
@@ -91,7 +91,8 @@
}
// Send data in chunks of maximum 16KB.
- const intptr_t max_chunk_length = dart::Utils::Minimum(length, 16 * KB);
+ const intptr_t max_chunk_length =
+ dart::Utils::Minimum(length, static_cast<intptr_t>(16 * KB));
uint8_t* buffer = new uint8_t[max_chunk_length];
intptr_t total_bytes_written = 0;
intptr_t bytes_written = 0;
« 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