diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-19 12:05:56 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-19 12:05:56 +0200 |
commit | addac6a86be1a6c7a668f97c9d7a0d85277f6779 (patch) | |
tree | e98781d978fe0fac926f44c1609ba5cfb2bf11b6 /rpm2cpio.c | |
parent | 44c90ce3f0c5f4686338b4b746b9bece8510d757 (diff) | |
download | rpm-addac6a86be1a6c7a668f97c9d7a0d85277f6779.tar.gz rpm-addac6a86be1a6c7a668f97c9d7a0d85277f6779.tar.bz2 rpm-addac6a86be1a6c7a668f97c9d7a0d85277f6779.zip |
Add rpm_data_t (and _constdata_t) for header data, use everywhere
- consistent, easy to grep for and change...
- bogus consts removed where spotted
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r-- | rpm2cpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |