aboutsummaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-05-21 20:48:15 +0200
committerStapleButter <thetotalworm@gmail.com>2017-05-21 20:48:15 +0200
commit189973f5649fe7e2c3ad6073792f0ef049bdfe67 (patch)
tree0057ed4c976c39aaaa460ec224aa139271b699d9 /src/wx
parent1c6c2564d51ac3b7a64470ebf5c4cc1510070e32 (diff)
gjhdiqokjdrhygjqdryhsjyryujytsrgrtfdhfijeogfieOZPYFGRozhmvyfgrIOZUHESjhjhrgthistoyghresodgyrojyroturgeiutoiyzryueirefrhgdjg
Diffstat (limited to 'src/wx')
-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);