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

Unified Diff: runtime/bin/socket_win.cc

Issue 10919062: Fix type for container of inet_addr result on Win. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: runtime/bin/socket_win.cc
diff --git a/runtime/bin/socket_win.cc b/runtime/bin/socket_win.cc
index 0dff55d0709d7e981e65f2405cf9db650baaf031..4cc2b8fbad0552f606c0aa9b70f15e99dcebd42a 100644
--- a/runtime/bin/socket_win.cc
+++ b/runtime/bin/socket_win.cc
@@ -211,7 +211,7 @@ const char* Socket::LookupIPv4Address(char* host, OSError** os_error) {
intptr_t ServerSocket::CreateBindListen(const char* host,
intptr_t port,
intptr_t backlog) {
- in_addr_t s_addr = TEMP_FAILURE_RETRY(inet_addr(host));
+ unsigned long s_addr = TEMP_FAILURE_RETRY(inet_addr(host)); // NOLINT
if (s_addr == INADDR_NONE) {
return -5;
}
« 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