mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Fix NET_IPSocket and NET_IP6Socket return type
It was causing a warning on Windows x64.
This commit is contained in:
parent
98dda7758f
commit
9bfff1363e
1 changed files with 2 additions and 2 deletions
|
@ -810,7 +810,7 @@ void Sys_ShowIP(void) {
|
||||||
NET_IPSocket
|
NET_IPSocket
|
||||||
====================
|
====================
|
||||||
*/
|
*/
|
||||||
int NET_IPSocket( char *net_interface, int port, int *err ) {
|
SOCKET NET_IPSocket( char *net_interface, int port, int *err ) {
|
||||||
SOCKET newsocket;
|
SOCKET newsocket;
|
||||||
struct sockaddr_in address;
|
struct sockaddr_in address;
|
||||||
ioctlarg_t _true = 1;
|
ioctlarg_t _true = 1;
|
||||||
|
@ -878,7 +878,7 @@ int NET_IPSocket( char *net_interface, int port, int *err ) {
|
||||||
NET_IP6Socket
|
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;
|
SOCKET newsocket;
|
||||||
struct sockaddr_in6 address;
|
struct sockaddr_in6 address;
|
||||||
ioctlarg_t _true = 1;
|
ioctlarg_t _true = 1;
|
||||||
|
|
Loading…
Reference in a new issue