diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-05 20:02:02 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-05 20:02:02 -0700 |
| commit | 8732b2bcd2bb6953c0d01766b71ef68a0fac2453 (patch) | |
| tree | ecb2682929ef9c2e78e9958716dcf660d44cf62d /src/transport | |
| parent | 96dbf571b34a97dec67c81369feb0d00a8f412f1 (diff) | |
| download | nng-8732b2bcd2bb6953c0d01766b71ef68a0fac2453.tar.gz nng-8732b2bcd2bb6953c0d01766b71ef68a0fac2453.tar.bz2 nng-8732b2bcd2bb6953c0d01766b71ef68a0fac2453.zip | |
Fix warninsg about size types found in 64-bit windows build.
Diffstat (limited to 'src/transport')
| -rw-r--r-- | src/transport/ipc/ipc.c | 8 | ||||
| -rw-r--r-- | src/transport/tcp/tcp.c | 8 |
2 files changed, 8 insertions, 8 deletions
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; |
