Fix a couple of warnings found by the mxe gcc.

Finally, a recent gcc for our mingw builds :)
This commit is contained in:
Bill Currie 2012-12-14 17:07:53 +09:00
parent fb00391749
commit 101ca22b5a
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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");