Fix 'make docker-test-mingw@fedora'
The following changes since commit 5f0e775348082c355769a3df612e055abea61c06:
Update version for v2.7.0-rc3 release (2016-08-16 17:34:30 +0100)
are available in the git repository at:
[email protected]:famz/qemu tags/docker-pull-request
for you to fetch changes up to 92b6a160871e96ce639da7c94e6ab7e17eae376e:
curl: Cast fd to int for DPRINTF (2016-08-17 19:57:54 +0800)
----------------------------------------------------------------
Peter,
This is the single patch that stalls patchew's mingw testing. Since it is small and trivial, let's have it in 2.7.
Fam
----------------------------------------------------------------
Fam Zheng (1):
curl: Cast fd to int for DPRINTF
block/curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.7.4
[Qemu-devel] [PULL 1/1] curl: Cast fd to int for DPRINTF
Currently "make docker-test-mingw@fedora" has a warning like:
/tmp/qemu-test/src/block/curl.c: In function 'curl_sock_cb':
/tmp/qemu-test/src/block/curl.c:172:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'curl_socket_t {aka long long unsigned int}'
DPRINTF("CURL (AIO): Sock action %d on fd %d\n", action, fd);
^
cc1: all warnings being treated as errors
Cast to int to suppress it.
Message-Id: <[email protected]>
--- block/curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/curl.c +1 -1
@@ -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,
Signature · 1 line
2.7.4
Peter Maydell
AppliedQuoted 12 lines · Fam Zheng
The following changes since commit
5f0e775348082c355769a3df612e055abea61c06:Update version for v2.7.0-rc3 release (2016-08-16 17:34:30 +0100)
are available in the git repository at:
[email protected]:famz/qemu tags/docker-pull-request
for you to fetch changes up to
92b6a160871e96ce639da7c94e6ab7e17eae376e:curl: Cast fd to int for DPRINTF (2016-08-17 19:57:54 +0800)
Quoted 8 lines
----------------------------------------------------------------
Peter,
This is the single patch that stalls patchew's mingw testing. Since it is small and trivial, let's have it in 2.7.
Fam
Applied, thanks.
-- PMM