From f64a1a327bfb443fea6ed766be40547c855d27a0 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 10 Jul 2007 11:39:40 +0300 Subject: [PATCH] Cast to strlen expected type to avoid warning. --- rpmio/rpmpgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c index fa42a99..628ca2e 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 { -- 2.7.4