summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)) {