From 8732b2bcd2bb6953c0d01766b71ef68a0fac2453 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 5 Aug 2017 20:02:02 -0700 Subject: Fix warninsg about size types found in 64-bit windows build. --- src/transport/ipc/ipc.c | 8 ++++---- src/transport/tcp/tcp.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/transport') diff --git a/src/transport/ipc/ipc.c b/src/transport/ipc/ipc.c index e8c7968f..51051681 100644 --- a/src/transport/ipc/ipc.c +++ b/src/transport/ipc/ipc.c @@ -31,10 +31,10 @@ struct nni_ipc_pipe { uint8_t txhead[1 + sizeof(uint64_t)]; uint8_t rxhead[1 + sizeof(uint64_t)]; - int gottxhead; - int gotrxhead; - int wanttxhead; - int wantrxhead; + size_t gottxhead; + size_t gotrxhead; + size_t wanttxhead; + size_t wantrxhead; nni_aio *user_txaio; nni_aio *user_rxaio; diff --git a/src/transport/tcp/tcp.c b/src/transport/tcp/tcp.c index a42fa377..d36f5690 100644 --- a/src/transport/tcp/tcp.c +++ b/src/transport/tcp/tcp.c @@ -34,10 +34,10 @@ struct nni_tcp_pipe { uint8_t txlen[sizeof(uint64_t)]; uint8_t rxlen[sizeof(uint64_t)]; - int gottxhead; - int gotrxhead; - int wanttxhead; - int wantrxhead; + size_t gottxhead; + size_t gotrxhead; + size_t wanttxhead; + size_t wantrxhead; nni_aio txaio; nni_aio rxaio; nni_aio negaio; -- cgit v1.2.3-70-g09d2