Re: [libvirt] [PATCH] rbd: use unsigned long long instead of uint64_t

2016-03-29 Thread Peter Krempa
On Mon, Mar 28, 2016 at 15:19:36 +0800, Shanzhi Yu wrote: > Fix below error: > storage/storage_backend_rbd.c: In function > 'virStorageBackendRBDSetAllocation': > storage/storage_backend_rbd.c:337:5: error: format '%llu' expects argument of > type 'long long unsigned int', but argument 8 has

[libvirt] [PATCH] rbd: use unsigned long long instead of uint64_t

2016-03-28 Thread Shanzhi Yu
Fix below error: storage/storage_backend_rbd.c: In function 'virStorageBackendRBDSetAllocation': storage/storage_backend_rbd.c:337:5: error: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint64_t' [-Werror=format=] VIR_DEBUG("Found %llu bytes