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

Unified Diff: runtime/bin/dartutils.cc

Issue 15904013: Fix windows build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | runtime/bin/socket_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dartutils.cc
diff --git a/runtime/bin/dartutils.cc b/runtime/bin/dartutils.cc
index 673e607393a9c3d47c0c0bf1359a3dcaf9b09d2b..9e263051f57bf8a9a48ac5da8d328f3cc120d94a 100644
--- a/runtime/bin/dartutils.cc
+++ b/runtime/bin/dartutils.cc
@@ -269,7 +269,7 @@ static uint8_t* SocketReadUntilEOF(intptr_t socket, intptr_t* response_len) {
ASSERT(buffer != NULL);
intptr_t buffer_cursor = 0;
do {
- ssize_t bytes_read = Socket::Read(socket, &buffer[buffer_cursor],
+ int bytes_read = Socket::Read(socket, &buffer[buffer_cursor],
buffer_size - buffer_cursor - 1);
if (bytes_read < 0) {
free(buffer);
« no previous file with comments | « no previous file | runtime/bin/socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698