summaryrefslogtreecommitdiffstats
path: root/libvirt-override.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-07-07 12:13:45 -0600
committerEric Blake <eblake@redhat.com>2011-07-13 17:05:10 -0600
commit140b8f2c12f1dc832cc0daa676548db246307c1b (patch)
treec626d0b6d9d5b13205e1315feba70f87ab0932e7 /libvirt-override.c
parenta9c49d46fd67a4414910b402d6c632489ec85400 (diff)
downloadlibvirt-python-v6-140b8f2c12f1dc832cc0daa676548db246307c1b.tar.gz
libvirt-python-v6-140b8f2c12f1dc832cc0daa676548db246307c1b.tar.xz
libvirt-python-v6-140b8f2c12f1dc832cc0daa676548db246307c1b.zip
python: prefer unsigned flags
* python/libvirt-override.c (libvirt_virConnectOpenAuth) (libvirt_virDomainSnapshotListNames) (libvirt_virDomainRevertToSnapshot): Change flags type.
Diffstat (limited to 'libvirt-override.c')
-rw-r--r--libvirt-override.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvirt-override.c b/libvirt-override.c
index 2b88796..b713b6a 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -791,7 +791,7 @@ libvirt_virConnectOpenAuth(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
PyObject *py_retval;
virConnectPtr c_retval;
char * name;
- int flags;
+ unsigned int flags;
PyObject *pyauth;
PyObject *pycredcb;
PyObject *pycredtype;
@@ -991,7 +991,7 @@ libvirt_virDomainSnapshotListNames(PyObject *self ATTRIBUTE_UNUSED,
int c_retval, i;
virDomainPtr dom;
PyObject *pyobj_dom;
- int flags;
+ unsigned int flags;
if (!PyArg_ParseTuple(args, (char *)"Oi:virDomainSnapshotListNames", &pyobj_dom, &flags))
return(NULL);
@@ -1035,7 +1035,7 @@ libvirt_virDomainRevertToSnapshot(PyObject *self ATTRIBUTE_UNUSED,
virDomainSnapshotPtr snap;
PyObject *pyobj_snap;
PyObject *pyobj_dom;
- int flags;
+ unsigned int flags;
if (!PyArg_ParseTuple(args, (char *)"OOi:virDomainRevertToSnapshot", &pyobj_dom, &pyobj_snap, &flags))
return(NULL);