summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-08-02 10:03:41 -0600
committerEric Blake <eblake@redhat.com>2011-08-02 11:57:07 -0600
commit3faa16ef8eadc6c9988bf113e0b22581ea21c3c9 (patch)
treea9a59c757f72e24883464a8a513cf860e87bd3bd
parent088ec98fdcc3073ce678e70949b21f0f626b27f4 (diff)
downloadlibvirt-python-v6-3faa16ef8eadc6c9988bf113e0b22581ea21c3c9.tar.gz
libvirt-python-v6-3faa16ef8eadc6c9988bf113e0b22581ea21c3c9.tar.xz
libvirt-python-v6-3faa16ef8eadc6c9988bf113e0b22581ea21c3c9.zip
Detected by Coverity; same analysis as for commit f73198df. * python/libvirt-override.c (libvirt_virDomainGetVcpuPinInfo): Use correct type.
-rw-r--r--libvirt-override.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override.c b/libvirt-override.c
index aa84438..b5650e2 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -1114,7 +1114,7 @@ libvirt_virDomainGetVcpuPinInfo(PyObject *self ATTRIBUTE_UNUSED,
virNodeInfo nodeinfo;
virDomainInfo dominfo;
unsigned char *cpumaps;
- int cpumaplen, vcpu, pcpu;
+ size_t cpumaplen, vcpu, pcpu;
unsigned int flags;
int i_retval;