expand: Remove superfluous pointer casts.
Michael Stefaniuc
mstefani at redhat.de
Thu Jan 29 04:15:10 CST 2009
---
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;
--
1.6.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090129/e9ade39f/attachment.pgp
More information about the wine-patches
mailing list