summaryrefslogtreecommitdiff
path: root/src/qcommon/net_ip.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-03-18 16:04:53 -0500
committerTim Angus <tim@ngus.net>2013-03-19 16:41:21 +0000
commit1b8797d61d0e4a20cddcabd7a2a663b5e1e1c300 (patch)
tree37556aa0a878164dbfd58068b3c6a10c3ecae991 /src/qcommon/net_ip.c
parent1f391d180b9702b6859cd247bdaf94f18c677727 (diff)
Fix NET_IPSocket and NET_IP6Socket return type
It was causing a warning on Windows x64.
Diffstat (limited to 'src/qcommon/net_ip.c')
-rw-r--r--src/qcommon/net_ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/net_ip.c b/src/qcommon/net_ip.c
index 928b06c8..fdbe75cc 100644
--- a/src/qcommon/net_ip.c
+++ b/src/qcommon/net_ip.c
@@ -807,7 +807,7 @@ void Sys_ShowIP(void) {
NET_IPSocket
====================
*/
-int NET_IPSocket( char *net_interface, int port, int *err ) {
+SOCKET NET_IPSocket( char *net_interface, int port, int *err ) {
SOCKET newsocket;
struct sockaddr_in address;
ioctlarg_t _true = 1;
@@ -875,7 +875,7 @@ int NET_IPSocket( char *net_interface, int port, int *err ) {
NET_IP6Socket
====================
*/
-int NET_IP6Socket( char *net_interface, int port, struct sockaddr_in6 *bindto, int *err ) {
+SOCKET NET_IP6Socket( char *net_interface, int port, struct sockaddr_in6 *bindto, int *err ) {
SOCKET newsocket;
struct sockaddr_in6 address;
ioctlarg_t _true = 1;