summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-10 15:20:34 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-10 15:20:34 +0300
commitc12c54dca8ae655ebb068e6f5ee597b7cb75e2bf (patch)
tree28fddd54aa77b1a82be09dd74108f4622c899957 /python
parentf91bb73993794e573ecc234106feca12739a4cea (diff)
downloadrpm-c12c54dca8ae655ebb068e6f5ee597b7cb75e2bf.tar.gz
rpm-c12c54dca8ae655ebb068e6f5ee597b7cb75e2bf.tar.bz2
rpm-c12c54dca8ae655ebb068e6f5ee597b7cb75e2bf.zip
Cast to PyObject to avoid compiler whining
Diffstat (limited to 'python')
-rw-r--r--python/rpmds-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmds-py.c b/python/rpmds-py.c
index 1598feef3..9e884996d 100644
--- a/python/rpmds-py.c
+++ b/python/rpmds-py.c
@@ -254,7 +254,7 @@ rpmds_iternext(rpmdsObject * s)
if (N != NULL) N = xstrdup(N);
if (EVR != NULL) EVR = xstrdup(EVR);
/*@=branchstate@*/
- result = rpmds_Wrap( rpmdsSingle(tagN, N, EVR, Flags) );
+ result = (PyObject *) rpmds_Wrap( rpmdsSingle(tagN, N, EVR, Flags) );
} else
s->active = 0;