aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-14 03:00:21 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-14 03:00:21 +0000
commitb2052e788d6fef44b176b8c93bbee8ce3d338904 (patch)
treef1cf692e33a38e0c13912d03c262120c738e9dfb
parent5a40bfbe416199621d49c1dd3c434c675be4daa6 (diff)
downloadperl-URPM-b2052e788d6fef44b176b8c93bbee8ce3d338904.tar
perl-URPM-b2052e788d6fef44b176b8c93bbee8ce3d338904.tar.gz
perl-URPM-b2052e788d6fef44b176b8c93bbee8ce3d338904.tar.bz2
perl-URPM-b2052e788d6fef44b176b8c93bbee8ce3d338904.tar.xz
perl-URPM-b2052e788d6fef44b176b8c93bbee8ce3d338904.zip
add const qualifier to rpmtag_from_string() argument
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index cad9f0b..e4c3282 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1531,7 +1531,7 @@ static void *rpmRunTransactions_callback(__attribute__((unused)) const void *h,
return callback == td->callback_open ? fd : NULL;
}
-static int rpmtag_from_string(char *tag)
+static int rpmtag_from_string(const char *tag)
{
static rpmconst c = NULL;
static const char context[] = "rpmtag";