src/network/core/os_abstraction.h
changeset 5975 af5c8ffc42e3
parent 5841 db7a27cf1f4d
child 5976 aa1cae2b975a
--- 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