summaryrefslogtreecommitdiff
path: root/rpmio/tdir.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-07 11:00:51 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-07 11:00:51 +0200
commitd8741ebc13c4981b0df788c7a481396b79213a01 (patch)
tree18b019af231d20ba8720d41b20721c50916c395f /rpmio/tdir.c
parent8239d0b74b6363fa38576d40a3ab4531a047f028 (diff)
downloadrpm-d8741ebc13c4981b0df788c7a481396b79213a01.tar.gz
rpm-d8741ebc13c4981b0df788c7a481396b79213a01.tar.bz2
rpm-d8741ebc13c4981b0df788c7a481396b79213a01.zip
Silence bunch of compiler warnings from test programs
Diffstat (limited to 'rpmio/tdir.c')
-rw-r--r--rpmio/tdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/tdir.c b/rpmio/tdir.c
index 32b16784d..ee829d8d9 100644
--- a/rpmio/tdir.c
+++ b/rpmio/tdir.c
@@ -51,7 +51,7 @@ static struct poptOption optionsTable[] = {
int
main(int argc, char *argv[])
{
- poptContext optCon = poptGetContext(argv[0], argc, argv, optionsTable, 0);
+ poptContext optCon = poptGetContext(argv[0], argc, (const char**) argv, optionsTable, 0);
int rc;
while ((rc = poptGetNextOpt(optCon)) > 0) {