]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: use correct type for array count
authorEric Blake <eblake@redhat.com>
Wed, 30 Oct 2013 21:42:31 +0000 (15:42 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 30 Oct 2013 23:13:24 +0000 (17:13 -0600)
commit41183cf7bbf5c8ff57dc9d93ce3e79750024e06f
treeef29d723ae18f27cf8cd8221dd738e97596bd667
parentfb8613525df4e3efdfb74ac59293fb4cc6a75fd8
storage: use correct type for array count

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@redhat.com>
src/conf/storage_conf.h
src/storage/storage_backend_rbd.c