summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/rpmstrpool-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmstrpool-py.c b/python/rpmstrpool-py.c
index d5a6c388b..356bd1de5 100644
--- a/python/rpmstrpool-py.c
+++ b/python/rpmstrpool-py.c
@@ -40,7 +40,7 @@ static PyObject *strpool_id2str(rpmstrPoolObject *s, PyObject *item)
PyObject *ret = NULL;
rpmsid id = 0;
- if (PyArg_Parse(item, "k", &id)) {
+ if (PyArg_Parse(item, "I", &id)) {
const char *str = rpmstrPoolStr(s->pool, id);
if (str)