Reviewers: Toon Verwaest,

Message:
Committed patchset #1 manually as r16524 (presubmit successful).

Description:
Build fix for Win64 after r16521.

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=16524

Please review this at https://codereview.chromium.org/23850003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/platform/socket.cc


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;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to