mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Fix a couple of warnings found by the mxe gcc.
Finally, a recent gcc for our mingw builds :)
This commit is contained in:
parent
fb00391749
commit
101ca22b5a
2 changed files with 2 additions and 2 deletions
|
@ -412,7 +412,7 @@ NET_Init (int port)
|
|||
|
||||
wVersionRequested = MAKEWORD (1, 1);
|
||||
|
||||
r = WSAStartup (MAKEWORD (1, 1), &winsockdata);
|
||||
r = WSAStartup (wVersionRequested, &winsockdata);
|
||||
if (r)
|
||||
Sys_Error ("Winsock initialization failed.");
|
||||
#endif /* _WIN32 */
|
||||
|
|
|
@ -231,7 +231,7 @@ WINS_Init (void)
|
|||
if (winsock_initialized == 0) {
|
||||
wVersionRequested = MAKEWORD (1, 1);
|
||||
|
||||
r = pWSAStartup (MAKEWORD (1, 1), &winsockdata);
|
||||
r = pWSAStartup (wVersionRequested, &winsockdata);
|
||||
|
||||
if (r) {
|
||||
Sys_Printf ("Winsock initialization failed.\n");
|
||||
|
|
Loading…
Reference in a new issue