From addac6a86be1a6c7a668f97c9d7a0d85277f6779 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 19 Dec 2007 12:05:56 +0200 Subject: Add rpm_data_t (and _constdata_t) for header data, use everywhere - consistent, easy to grep for and change... - bogus consts removed where spotted --- rpm2cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpm2cpio.c') diff --git a/rpm2cpio.c b/rpm2cpio.c index bc06110c3..ecf02804a 100644 --- a/rpm2cpio.c +++ b/rpm2cpio.c @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) char * t; if (!headerGetEntry(h, RPMTAG_PAYLOADCOMPRESSOR, NULL, - (void **) &payload_compressor, NULL)) + (rpm_data_t *) &payload_compressor, NULL)) payload_compressor = "gzip"; rpmio_flags = t = alloca(sizeof("r.gzdio")); *t++ = 'r'; -- cgit v1.2.3