From 8c57ef548e588ab37a5f2ecf103fd045d8623269 Mon Sep 17 00:00:00 2001 From: dapetcu21 Date: Mon, 19 Jul 2010 13:00:40 +0000 Subject: [PATCH] Fixed windows build... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5918 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/UDPWiimote.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/InputCommon/Src/UDPWiimote.cpp b/Source/Core/InputCommon/Src/UDPWiimote.cpp index 467ea44745..311e86fb63 100644 --- a/Source/Core/InputCommon/Src/UDPWiimote.cpp +++ b/Source/Core/InputCommon/Src/UDPWiimote.cpp @@ -41,6 +41,7 @@ #include #include #include +#include #include struct UDPWiimote::_d @@ -307,7 +308,7 @@ void UDPWiimote::initBroadcastIPv4() } int broad=1; - if (setsockopt(d->bipv4_fd,SOL_SOCKET,SO_BROADCAST, &broad, sizeof broad) == -1) + if (setsockopt(d->bipv4_fd,SOL_SOCKET,SO_BROADCAST, (const dataz)(&broad), sizeof broad) == -1) { WARN_LOG(WIIMOTE,"setsockopt(SO_BROADCAST) failed"); return;