diff --git a/rpmio/macro.c b/rpmio/macro.c index 753ee9be7..be0c9e7e8 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1635,7 +1635,7 @@ rpmExpand(const char *arg, ...) int rpmExpandNumeric(const char *arg) { - const char *val; + char *val; int rc; if (arg == NULL) diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c index 9ca66c8aa..841d08c55 100644 --- a/rpmio/rpmpgp.c +++ b/rpmio/rpmpgp.c @@ -946,7 +946,7 @@ int pgpPubkeyFingerprint(const uint8_t * pkt, size_t pktlen, int pgpExtractPubkeyFingerprint(const char * b64pkt, pgpKeyID_t keyid) { - const uint8_t * pkt; + uint8_t * pkt; size_t pktlen; if (b64decode(b64pkt, (void **)&pkt, &pktlen)) @@ -1290,7 +1290,7 @@ exit: char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns) { - const char * enc; + char * enc; char * t; size_t nt = 0; char * val;