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

Unified Diff: runtime/bin/socket.h

Issue 9999022: Fix signature of GetRemotePeer declaration. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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.h
diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
index d66fee8151b904f66bf4f8ab49cfbe766495c959..5e773808fa5f45c478dac70b91d985c5c9c65348 100644
--- a/runtime/bin/socket.h
+++ b/runtime/bin/socket.h
@@ -24,7 +24,7 @@ class Socket {
static int Write(intptr_t fd, const void* buffer, intptr_t num_bytes);
static intptr_t CreateConnect(const char* host, const intptr_t port);
static intptr_t GetPort(intptr_t fd);
- static bool GetRemotePeer(intptr_t fd, char *host, int *port);
+ static bool GetRemotePeer(intptr_t fd, char *host, intptr_t *port);
static void GetError(intptr_t fd, OSError* os_error);
static intptr_t GetStdioHandle(int num);
« 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