summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-10 11:39:40 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-10 11:39:40 +0300
commitf64a1a327bfb443fea6ed766be40547c855d27a0 (patch)
treed38b0a839e783201b34f61d57089c38b288b149b /rpmio/rpmpgp.c
parenta7458d9dd7587b9782305966c47e0f913c4a53db (diff)
downloadrpm-f64a1a327bfb443fea6ed766be40547c855d27a0.tar.gz
rpm-f64a1a327bfb443fea6ed766be40547c855d27a0.tar.bz2
rpm-f64a1a327bfb443fea6ed766be40547c855d27a0.zip
Cast to strlen expected type to avoid warning.
Diffstat (limited to 'rpmio/rpmpgp.c')
-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 {