From 09924354d4bf574623868beeb6898ce9b77d9cd2 Mon Sep 17 00:00:00 2001
From: Stijn Buys <ingar@osirion.org>
Date: Fri, 28 Mar 2008 23:03:28 +0000
Subject: win32 compile error fix

---
 src/core/application.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/core/application.cc b/src/core/application.cc
index 4964e50..2807d0e 100644
--- a/src/core/application.cc
+++ b/src/core/application.cc
@@ -142,7 +142,7 @@ void Application::init()
 	// Initialize win32 socket library
 	WSADATA wsa_data;
 	WORD wsa_version = MAKEWORD(2, 0);
-	if (WSAStartup(wsa_version, wsa_data) != 0 ) {
+	if (WSAStartup(wsa_version, &wsa_data) != 0 ) {
 		con_warn << "Could not initialize scoket library!" << std::endl;
 	}
 #endif
-- 
cgit v1.2.3