X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fsocket.c;h=71bb817f847f142aac2cbe53fa3efe33cb902c54;hb=d14e28387f825d7acc33d655db7a22506b064d83;hp=360e511c1fb68454fb0dcfc26c290994b7b826a3;hpb=574095b9604d8e61b531d61343e1f2719767f50d;p=deb_libnfs.git diff --git a/lib/socket.c b/lib/socket.c index 360e511..71bb817 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -89,7 +89,7 @@ int rpc_which_events(struct rpc_context *rpc) static int rpc_write_to_socket(struct rpc_context *rpc) { - int64_t count; + int32_t count; if (rpc == NULL) { return -1; @@ -133,7 +133,7 @@ static int rpc_read_from_socket(struct rpc_context *rpc) int available; int size; int pdu_size; - int64_t count; + int32_t count; #if defined(WIN32) if (ioctlsocket(rpc->fd, FIONREAD, &available) != 0) {