summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rpmio/rpmpgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index fa42a996f..628ca2e82 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -859,7 +859,7 @@ int pgpPrtComment(pgpTag tag, const byte *h, unsigned int hlen)
if (*h >= ' ' && *h <= 'z') {
if (_print)
fprintf(stderr, "%s", (const char *)h);
- j = strlen(h);
+ j = strlen((const char*)h);
while (h[j] == '\0')
j++;
} else {