diff options
Diffstat (limited to 'src/wx')
-rw-r--r-- | src/wx/Platform.cpp | 2 |
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); |