1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-02 04:21:59 +03:00

libvirt-override: all flags should be defined as unsigned int

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina
2016-02-23 13:47:37 +01:00
parent 3413cc44b2
commit 2bf5eaa270

View File

@ -2148,7 +2148,7 @@ libvirt_virConnectGetCPUModelNames(PyObject *self ATTRIBUTE_UNUSED,
PyObject *rv = NULL, *pyobj_conn; PyObject *rv = NULL, *pyobj_conn;
char **models = NULL; char **models = NULL;
size_t i; size_t i;
int flags = 0; unsigned int flags = 0;
const char *arch = NULL; const char *arch = NULL;
if (!PyArg_ParseTuple(args, (char *)"OsI:virConnectGetCPUModelNames", if (!PyArg_ParseTuple(args, (char *)"OsI:virConnectGetCPUModelNames",