diff options
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; |
