[libvirt] [PATCH] Use size_t instead of int for virDomainDefPtr struct

Eric Blake eblake at redhat.com
Wed Sep 26 15:47:16 UTC 2012


On 09/26/2012 09:13 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Many parts of virDomainDefPtr were using 'int' variables as
> array length counts. Replace all these with size_t and update
> various format strings & API signatures to adapt
> ---
>  src/conf/domain_conf.c           | 28 ++++++++++++++--------------
>  src/conf/domain_conf.h           | 40 ++++++++++++++++++++--------------------
>  src/lxc/lxc_controller.c         |  4 ++--
>  src/parallels/parallels_driver.c |  2 +-
>  src/qemu/qemu_hotplug.c          |  2 +-
>  src/vbox/vbox_tmpl.c             |  8 ++++----
>  src/vmx/vmx.c                    |  2 +-
>  7 files changed, 43 insertions(+), 43 deletions(-)

Fairly mechanical, and worthwhile.  ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120926/99c7ac20/attachment-0001.sig>


More information about the libvir-list mailing list