Fixed windows build...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5918 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b08230512b
commit
8c57ef548e
|
@ -41,6 +41,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
struct UDPWiimote::_d
|
struct UDPWiimote::_d
|
||||||
|
@ -307,7 +308,7 @@ void UDPWiimote::initBroadcastIPv4()
|
||||||
}
|
}
|
||||||
|
|
||||||
int broad=1;
|
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");
|
WARN_LOG(WIIMOTE,"setsockopt(SO_BROADCAST) failed");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue