summaryrefslogtreecommitdiffhomepage
path: root/src/socket
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-14 01:10:09 +0000
committermidipix <writeonce@midipix.org>2016-12-15 01:47:35 -0500
commit3e609ebeae297011c8f70719ba2f68f2a9798d54 (patch)
treef8b9238c25de839ea270b81d42880e89d1f95c3e /src/socket
parent95d67cc70c652076dbe261d195a27ddfbc6bbb3a (diff)
downloadntapi-3e609ebeae297011c8f70719ba2f68f2a9798d54.tar.bz2
ntapi-3e609ebeae297011c8f70719ba2f68f2a9798d54.tar.xz
code maintenance: provide smooth foreign toolchain support.
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;
}