summaryrefslogtreecommitdiffhomepage
path: root/src/socket
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket')
-rw-r--r--src/socket/ntapi_sc_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket/ntapi_sc_send.c b/src/socket/ntapi_sc_send.c
index 6810bb6..181d818 100644
--- a/src/socket/ntapi_sc_send.c
+++ b/src/socket/ntapi_sc_send.c
@@ -53,7 +53,7 @@ int32_t __cdecl __ntapi_sc_send(
0,sizeof(afd_send));
afd_send.pmeta = &afd_send.extlen;
- afd_send.addrlen = addrlen;
+ afd_send.addrlen = (uint32_t)addrlen;
afd_send.addr = addr;
}