diff options
Diffstat (limited to 'lib/tran_sock.c')
-rw-r--r-- | lib/tran_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tran_sock.c b/lib/tran_sock.c index ad57ccc..74e50f7 100644 --- a/lib/tran_sock.c +++ b/lib/tran_sock.c @@ -651,7 +651,7 @@ close_sock(vfu_ctx_t *vfu_ctx) static int get_request_sock(vfu_ctx_t *vfu_ctx, struct vfio_user_header *hdr, - int *fds, int *nr_fds) + int *fds, size_t *nr_fds) { int ret; struct iovec iov = {.iov_base = hdr, .iov_len = sizeof *hdr}; |