From 70d65fed3a230dcf17939786b5ac941423e29216 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 16 Jan 2017 01:09:37 -0800 Subject: Fixes for 32-bit Windows compilation. --- src/transport/tcp/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/tcp') diff --git a/src/transport/tcp/tcp.c b/src/transport/tcp/tcp.c index 6c085388..09a2b385 100644 --- a/src/transport/tcp/tcp.c +++ b/src/transport/tcp/tcp.c @@ -115,7 +115,7 @@ nni_tcp_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); } -- cgit v1.2.3-70-g09d2