summaryrefslogtreecommitdiffhomepage
path: root/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index e1fae23..7b23cdd 100644
--- a/win32.c
+++ b/win32.c
@@ -238,7 +238,7 @@ enet_socket_send (ENetSocket socket,
(DWORD) bufferCount,
& sentLength,
0,
- address != NULL ? (struct sockaddr *) & sin : 0,
+ address != NULL ? (struct sockaddr *) & sin : NULL,
address != NULL ? sizeof (struct sockaddr_in) : 0,
NULL,
NULL) == SOCKET_ERROR)