aboutsummaryrefslogtreecommitdiff
path: root/src/transport/ipc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-16 01:09:37 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-16 01:09:37 -0800
commit70d65fed3a230dcf17939786b5ac941423e29216 (patch)
treeab929f1960778dbfbc56a859f7caf3c689adc391 /src/transport/ipc
parent39dbff5615631522d3ef98b83141957038502c0d (diff)
downloadnng-70d65fed3a230dcf17939786b5ac941423e29216.tar.gz
nng-70d65fed3a230dcf17939786b5ac941423e29216.tar.bz2
nng-70d65fed3a230dcf17939786b5ac941423e29216.zip
Fixes for 32-bit Windows compilation.
Diffstat (limited to 'src/transport/ipc')
-rw-r--r--src/transport/ipc/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/ipc/ipc.c b/src/transport/ipc/ipc.c
index 4f1a5afa..3aef5363 100644
--- a/src/transport/ipc/ipc.c
+++ b/src/transport/ipc/ipc.c
@@ -126,7 +126,7 @@ nni_ipc_pipe_recv(void *arg, nni_msg **msgp)
return (NNG_EPROTO);
}
- if ((rv = nng_msg_alloc(&msg, len)) != 0) {
+ if ((rv = nng_msg_alloc(&msg, (size_t) len)) != 0) {
return (rv);
}