Module: wine Branch: master Commit: 30a37b65dc960a741b0e730a7cc7f0d92d3df850 URL: http://source.winehq.org/git/wine.git/?a=commit;h=30a37b65dc960a741b0e730a7c...
Author: Michael Stefaniuc mstefani@redhat.de Date: Thu Jan 29 11:15:10 2009 +0100
expand: Remove superfluous pointer casts.
---
programs/expand/expand.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/expand/expand.c b/programs/expand/expand.c index bbdb546..1118f08 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;