diff options
| author | Fam Zheng | 2016-08-01 07:04:48 +0200 |
|---|---|---|
| committer | Fam Zheng | 2016-08-17 13:57:54 +0200 |
| commit | 92b6a160871e96ce639da7c94e6ab7e17eae376e (patch) | |
| tree | 613a677aad1e933340c712ce5da01bb007a762de /scripts/switch-timer-api | |
| parent | Update version for v2.7.0-rc3 release (diff) | |
| download | qemu-92b6a160871e96ce639da7c94e6ab7e17eae376e.tar.gz qemu-92b6a160871e96ce639da7c94e6ab7e17eae376e.tar.xz qemu-92b6a160871e96ce639da7c94e6ab7e17eae376e.zip | |
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.
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1470027888-24381-1-git-send-email-famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
