| Index: runtime/bin/socket.h
|
| diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
|
| index 2823adae00a07a1af7a1f5c0f60b3de821a64e36..433565549e4912bf67975ccbd26cc70873d3d486 100644
|
| --- a/runtime/bin/socket.h
|
| +++ b/runtime/bin/socket.h
|
| @@ -13,8 +13,8 @@ class Socket {
|
| public:
|
| static bool Initialize();
|
| static intptr_t Available(intptr_t fd);
|
| - static intptr_t Read(intptr_t fd, void* buffer, intptr_t num_bytes);
|
| - static intptr_t Write(intptr_t fd, const void* buffer, intptr_t num_bytes);
|
| + static int Read(intptr_t fd, void* buffer, intptr_t num_bytes);
|
| + 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 intptr_t GetStdioHandle(int num);
|
|
|