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

Unified Diff: src/platform/socket.cc

Issue 23850003: Build fix for Win64 after r16521. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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: src/platform/socket.cc
diff --git a/src/platform/socket.cc b/src/platform/socket.cc
index e82c38c32c77c08ea46cc91a44717e865835124d..2fce6f2992d35955e9e11f0fe5f23e0c6147aaeb 100644
--- a/src/platform/socket.cc
+++ b/src/platform/socket.cc
@@ -128,7 +128,8 @@ bool Socket::Connect(const char* host, const char* port) {
for (struct addrinfo* ai = info; ai != NULL; ai = ai->ai_next) {
// Try to connect using this addr info.
while (true) {
- result = ::connect(native_handle_, ai->ai_addr, ai->ai_addrlen);
+ result = ::connect(
+ native_handle_, ai->ai_addr, static_cast<int>(ai->ai_addrlen));
if (result == 0) {
freeaddrinfo(info);
return true;
« 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