libvirt-override.c: In function ‘libvirt_virConnectBaselineHypervisorCPU’:
libvirt-override.c:9946:23: warning: comparison of integer expressions of different
signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
libvirt-override.c:9961:19: warning: comparison of integer expressions of different
signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
Use ssign_t as was similarly done in 75ec2acb6163b
Signed-off-by: Cole Robinson <crobinso(a)redhat.com>
---
libvirt-override.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvirt-override.c b/libvirt-override.c
index 5567f4a..ff2cfdf 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -9927,7 +9927,7 @@ libvirt_virConnectBaselineHypervisorCPU(PyObject *self
ATTRIBUTE_UNUSED,
unsigned int flags;
char **xmlCPUs = NULL;
int ncpus = 0;
- size_t i;
+ ssize_t i;
char *cpu;
PyObject *ret = NULL;
--
2.21.0