summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/connect.c')
-rw-r--r--otherlibs/win32unix/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/connect.c b/otherlibs/win32unix/connect.c
index 927758341..4d0f60a05 100644
--- a/otherlibs/win32unix/connect.c
+++ b/otherlibs/win32unix/connect.c
@@ -20,7 +20,7 @@
CAMLprim value unix_connect(socket, address)
value socket, address;
{
- SOCKET s = (SOCKET) Handle_val(socket);
+ SOCKET s = Socket_val(socket);
int retcode;
union sock_addr_union addr;
socklen_param_type addr_len;