[libvirt] [PATCH 2/2] rbd: Use %zu for uint64_t instead of casting to unsigned long long

John Ferlan jferlan at redhat.com
Fri Feb 5 19:34:17 UTC 2016



On 01/30/2016 10:15 AM, Wido den Hollander wrote:
> This was only used in debugging messages and not in any real code.
> 
> Ceph/RBD uses uint64_t for sizes internally and they can be printed
> with %zu without any need for casting.
> 
> Signed-off-by: Wido den Hollander <wido at widodh.nl>
> ---
>  src/storage/storage_backend_rbd.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
> 

ACK, pushed.

John




More information about the libvir-list mailing list