summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--block/curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/curl.c b/block/curl.c
index da9f5e85de..426fb4d674 100644
--- a/block/curl.c
+++ b/block/curl.c
@@ -169,7 +169,7 @@ static int curl_sock_cb(CURL *curl, curl_socket_t fd, int action,
state->sock_fd = fd;
s = state->s;
- DPRINTF("CURL (AIO): Sock action %d on fd %d\n", action, fd);
+ DPRINTF("CURL (AIO): Sock action %d on fd %d\n", action, (int)fd);
switch (action) {
case CURL_POLL_IN:
aio_set_fd_handler(s->aio_context, fd, false,