diff -r 5daa58eb1e0a -r af5c8ffc42e3 src/network/core/os_abstraction.h --- a/src/network/core/os_abstraction.h Sun Feb 11 10:30:54 2007 +0000 +++ b/src/network/core/os_abstraction.h Sun Feb 11 13:39:23 2007 +0000 @@ -153,7 +153,7 @@ # endif #endif // __MORPHOS__ || __AMIGA__ -static inline bool SetNonBlocking(const int d) +static inline bool SetNonBlocking(SOCKET d) { #ifdef WIN32 u_long nonblocking = 1; @@ -167,7 +167,7 @@ #endif } -static inline bool SetNoDelay(const int d) +static inline bool SetNoDelay(SOCKET d) { /* XXX should this be done at all? */ #if !defined(BEOS_NET_SERVER) // not implemented on BeOS net_server