qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 92b6a1: curl: Cast fd to int for DPRINTF


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 92b6a1: curl: Cast fd to int for DPRINTF
Date: Thu, 18 Aug 2016 03:00:11 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 92b6a160871e96ce639da7c94e6ab7e17eae376e
      
https://github.com/qemu/qemu/commit/92b6a160871e96ce639da7c94e6ab7e17eae376e
  Author: Fam Zheng <address@hidden>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M block/curl.c

  Log Message:
  -----------
  curl: Cast fd to int for DPRINTF

Currently "make address@hidden" 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 <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: John Snow <address@hidden>


  Commit: 4b887ae65880bf7eae53ba8af40599581fe759e5
      
https://github.com/qemu/qemu/commit/4b887ae65880bf7eae53ba8af40599581fe759e5
  Author: Peter Maydell <address@hidden>
  Date:   2016-08-18 (Thu, 18 Aug 2016)

  Changed paths:
    M block/curl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/famz/tags/docker-pull-request' into 
staging

Fix 'make address@hidden'

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

# gpg: Signature made Wed 17 Aug 2016 13:13:53 BST
# gpg:                using RSA key 0xCA35624C6A9171C6
# gpg: Good signature from "Fam Zheng <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 5003 7CB7 9706 0F76 F021  AD56 CA35 624C 6A91 71C6

* remotes/famz/tags/docker-pull-request:
  curl: Cast fd to int for DPRINTF

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/5f0e77534808...4b887ae65880

reply via email to

[Prev in Thread] Current Thread [Next in Thread]