[libvirt] [PATCH] storage: use correct type for array count

Osier Yang jyang at redhat.com
Thu Oct 31 07:48:18 UTC 2013


On 31/10/13 05:43, Eric Blake wrote:
> Using size_t counts will let us use VIR_APPEND_ELEMENT and friends.
>
> * src/conf/storage_conf.h (_virStoragePoolObjList)
> (_virStorageVolDefList): Track list sizes with size_t.
> * src/storage/storage_backend_rbd.c
> (virStorageBackendRBDRefreshPool): Fix type fallout.
>
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>   src/conf/storage_conf.h           | 4 ++--
>   src/storage/storage_backend_rbd.c | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
>

ACK




More information about the libvir-list mailing list