summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-10 14:34:04 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-10 14:34:04 +0000
commit6d4c7182709b758782235857f22fd3632ba8df21 (patch)
tree0850f2ab24182cc903c60d185c8185d851375956 /src/common/socket.h
parent851a23ed77b9ab3998725edb1545ae4a37cbb91f (diff)
downloadhercules-6d4c7182709b758782235857f22fd3632ba8df21.tar.gz
hercules-6d4c7182709b758782235857f22fd3632ba8df21.tar.bz2
hercules-6d4c7182709b758782235857f22fd3632ba8df21.tar.xz
hercules-6d4c7182709b758782235857f22fd3632ba8df21.zip
Removed an ugly cast in socket.c
Fixed Makefile (-Wno-unused-parameter was added twice with gcc4) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10205 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index eae9baf72..41acbeabd 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -121,7 +121,7 @@ void socket_final(void);
extern void flush_fifo(int fd);
extern void flush_fifos(void);
-extern void set_nonblocking(int fd, int yes);
+extern void set_nonblocking(int fd, unsigned long yes);
void set_defaultparse(ParseFunc defaultparse);