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/tcp | |
| 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/tcp')
| -rw-r--r-- | src/transport/tcp/tcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
