summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-21 14:19:11 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-21 14:19:11 +0300
commitee6c33c9c27406ae7fa90d7ea09b7bf1667c30db (patch)
treead45c56ac278f6a4b6ebcead5e04cad7620e4641 /lib/headerfmt.c
parent96f0bd8c5076a4bbc3732c2874fd57fd6d4474bc (diff)
downloadrpm-ee6c33c9c27406ae7fa90d7ea09b7bf1667c30db.tar.gz
Return typed pointer from headerformat cacheFree()
Diffstat (limited to 'lib/headerfmt.c')
-rw-r--r--lib/headerfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/headerfmt.c b/lib/headerfmt.c
index 828c6e49e..d2fa30996 100644
--- a/lib/headerfmt.c
+++ b/lib/headerfmt.c
@@ -794,7 +794,7 @@ static rpmtd *cacheCreate(void)
/**
* Free tag data cache contents and destroy cache.
*/
-static void *cacheFree(rpmtd *cache)
+static rpmtd *cacheFree(rpmtd *cache)
{
rpmtd *td = cache;
for (int i = 0; i < RPMTAG_FIRSTFREE_TAG; i++, td++) {