summaryrefslogtreecommitdiff
path: root/lib/rpmgi.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-18 10:17:18 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-18 10:17:18 +0200
commit78ad426f040a85965ad33ab64f040012f1b2af39 (patch)
treebd656a40ddcf5563dbedb513379ff86815333ad7 /lib/rpmgi.c
parent8bdd462b50b7930c94cd7c59ac068934f60cffcf (diff)
downloadrpm-78ad426f040a85965ad33ab64f040012f1b2af39.tar.gz
rpm-78ad426f040a85965ad33ab64f040012f1b2af39.tar.bz2
rpm-78ad426f040a85965ad33ab64f040012f1b2af39.zip
Remove bogus const from rpmGlob argv return type
- it's malloced and must be freed by caller
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r--lib/rpmgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c
index f0e0f17a3..1f6bb7de5 100644
--- a/lib/rpmgi.c
+++ b/lib/rpmgi.c
@@ -310,7 +310,7 @@ static rpmRC rpmgiGlobArgv(rpmgi gi, ARGV_t argv)
if (argv != NULL)
while ((arg = *argv++) != NULL) {
- ARGV_t av = NULL;
+ char ** av = NULL;
xx = rpmGlob(arg, &ac, &av);
xx = argvAppend(&gi->argv, av);