From: Panu Matilainen Date: Tue, 10 Jul 2007 08:39:40 +0000 (+0300) Subject: Cast to strlen expected type to avoid warning. X-Git-Tag: tznext/4.11.0.1.tizen20130304~5861 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f64a1a327bfb443fea6ed766be40547c855d27a0;p=tools%2Flibrpm-tizen.git Cast to strlen expected type to avoid warning. --- 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 {