summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 00:14:25 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 00:14:25 +0000
commit8a4cfd1fe9d0f34a11bf03fa973a94d5ff016eb3 (patch)
treed07b2fef6fc70da61ac84099eeabab04cc0fab04
parentaa5c425f2ec134ff03959acf682026aa97e839bd (diff)
downloadperl-RPM4-8a4cfd1fe9d0f34a11bf03fa973a94d5ff016eb3.tar
perl-RPM4-8a4cfd1fe9d0f34a11bf03fa973a94d5ff016eb3.tar.gz
perl-RPM4-8a4cfd1fe9d0f34a11bf03fa973a94d5ff016eb3.tar.bz2
perl-RPM4-8a4cfd1fe9d0f34a11bf03fa973a94d5ff016eb3.tar.xz
perl-RPM4-8a4cfd1fe9d0f34a11bf03fa973a94d5ff016eb3.zip
silent last remaining warning
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@234 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--rpmconstant/rpmconstant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmconstant/rpmconstant.c b/rpmconstant/rpmconstant.c
index 3389457..a2440f4 100644
--- a/rpmconstant/rpmconstant.c
+++ b/rpmconstant/rpmconstant.c
@@ -65,7 +65,7 @@ const char * rpmconstPrefix(rpmconst c)
const char * rpmconstName(rpmconst c, int stripprefix)
{
- char * name;
+ const char * name;
int len;
name = rpmConstantName(c->constant);
if (stripprefix && name && rpmConstantListPrefix(c->list)) {