On 12/13/18 10:27 AM, Laurent Vivier wrote:
Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Richard W.M. Jones <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
---

Notes:
     v2: use %zu with size_t
         change an uint64_t to int64_t to match % PRIi64

Why PRIi64? It's identical to PRId64, but the sources show a strong preference for %d over %i:

$ git grep PRIi[0-9] | wc
     25     172    1885
$ git grep PRId[0-9] | wc
    415    3991   40345

$ git grep '%i' | wc
    231    1664   18269
$ git grep '%d' | wc
   5492   46211  498225

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to