From 30a37b65dc960a741b0e730a7cc7f0d92d3df850 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 29 Jan 2009 11:15:10 +0100 Subject: [PATCH] expand: Remove superfluous pointer casts. --- programs/expand/expand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/expand/expand.c b/programs/expand/expand.c index bbdb546e0e7..1118f085929 100644 --- a/programs/expand/expand.c +++ b/programs/expand/expand.c @@ -107,7 +107,7 @@ int main(int argc, char *argv[]) case FILE_COMPRESSION_MSZIP: { outfile_basename[0] = 0; - if (!SetupIterateCabinetA( infile, 0, set_outfile, (PVOID)outfile_basename )) + if (!SetupIterateCabinetA( infile, 0, set_outfile, outfile_basename )) { fprintf( stderr, "%s: can't determine original name\n", argv[0] ); return 1; @@ -142,7 +142,7 @@ int main(int argc, char *argv[]) { case FILE_COMPRESSION_MSZIP: { - if (!SetupIterateCabinetA( infile, 0, extract_callback, (PVOID)outfile )) + if (!SetupIterateCabinetA( infile, 0, extract_callback, outfile )) { fprintf( stderr, "%s: cabinet extraction failed\n", argv[0] ); return 1;