aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wx/Platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/Platform.cpp b/src/wx/Platform.cpp
index 8fc05c6..61aa96e 100644
--- a/src/wx/Platform.cpp
+++ b/src/wx/Platform.cpp
@@ -92,7 +92,7 @@ bool MP_Init()
return false;
}
- res = setsockopt(MPSocket, SOL_SOCKET, SO_BROADCAST, (const char*)&opt_true, sizeof(BOOL));
+ res = setsockopt(MPSocket, SOL_SOCKET, SO_BROADCAST, (const char*)&opt_true, sizeof(int));
if (res < 0)
{
closesocket(MPSocket);