summaryrefslogtreecommitdiff
path: root/python/rpmfts-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-12 09:20:09 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-12 09:20:09 +0300
commit29dbb10c1f30b241486bcb60627283e8a87950ec (patch)
tree13dd60a8a9c19c3b49e6d952368dc83f3d46cb9d /python/rpmfts-py.c
parent495efd502db5e1d663e77cfb0a3c47dfacb7e018 (diff)
downloadrpm-29dbb10c1f30b241486bcb60627283e8a87950ec.tar.gz
rpm-29dbb10c1f30b241486bcb60627283e8a87950ec.tar.bz2
rpm-29dbb10c1f30b241486bcb60627283e8a87950ec.zip
Some obvious "missing const" cases...
Diffstat (limited to 'python/rpmfts-py.c')
-rw-r--r--python/rpmfts-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmfts-py.c b/python/rpmfts-py.c
index bb3594395..147ecbe10 100644
--- a/python/rpmfts-py.c
+++ b/python/rpmfts-py.c
@@ -432,7 +432,7 @@ rpmfts_debug(__FUNCTION__, s);
if (s->md_dict == NULL)
goto fail;
if (type->tp_name) {
- char * name;
+ const char * name;
if ((name = strrchr(type->tp_name, '.')) != NULL)
name++;
else