diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-16 01:09:37 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-16 01:09:37 -0800 |
| commit | 70d65fed3a230dcf17939786b5ac941423e29216 (patch) | |
| tree | ab929f1960778dbfbc56a859f7caf3c689adc391 /src/platform/windows/win_net.c | |
| parent | 39dbff5615631522d3ef98b83141957038502c0d (diff) | |
| download | nng-70d65fed3a230dcf17939786b5ac941423e29216.tar.gz nng-70d65fed3a230dcf17939786b5ac941423e29216.tar.bz2 nng-70d65fed3a230dcf17939786b5ac941423e29216.zip | |
Fixes for 32-bit Windows compilation.
Diffstat (limited to 'src/platform/windows/win_net.c')
| -rw-r--r-- | src/platform/windows/win_net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/windows/win_net.c b/src/platform/windows/win_net.c index 060324eb..36390053 100644 --- a/src/platform/windows/win_net.c +++ b/src/platform/windows/win_net.c @@ -201,7 +201,7 @@ nni_plat_tcp_send(nni_plat_tcpsock *s, nni_iov *iovs, int cnt) for (i = 0, resid = 0; i < cnt; resid += iov[i].len, i++) { iov[i].buf = iovs[i].iov_buf; - iov[i].len = (DWORD)iovs[i].iov_len; + iov[i].len = (DWORD) iovs[i].iov_len; } i = 0; @@ -257,7 +257,7 @@ nni_plat_tcp_recv(nni_plat_tcpsock *s, nni_iov *iovs, int cnt) for (i = 0, resid = 0; i < cnt; resid += iov[i].len, i++) { iov[i].buf = iovs[i].iov_buf; - iov[i].len = (DWORD)iovs[i].iov_len; + iov[i].len = (DWORD) iovs[i].iov_len; } i = 0; |
