wnaspi32: Remove some superfluous casts.
Michael Stefaniuc
mstefani at redhat.de
Fri Dec 5 00:49:17 CST 2008
---
dlls/wnaspi32/winaspi32.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/wnaspi32/winaspi32.c b/dlls/wnaspi32/winaspi32.c
index 94ed418..45b352c 100644
--- a/dlls/wnaspi32/winaspi32.c
+++ b/dlls/wnaspi32/winaspi32.c
@@ -292,8 +292,8 @@ WNASPI32_DoPosting( SRB_ExecSCSICmd *lpPRB, DWORD status )
(*SRB_PostProc)(lpPRB);
}
else if (SRB_Flags & SRB_EVENT_NOTIFY) {
- TRACE("Setting event %p\n", (HANDLE)SRB_PostProc);
- SetEvent((HANDLE)SRB_PostProc);
+ TRACE("Setting event %p\n", SRB_PostProc);
+ SetEvent(SRB_PostProc);
}
}
return SS_PENDING;
@@ -598,7 +598,7 @@ DWORD __cdecl GetASPI32DLLVersion(void)
return (DWORD)1;
#else
FIXME("Please add SCSI support for your operating system, returning 0\n");
- return (DWORD)0;
+ return 0;
#endif
}
--
1.6.0.rc1
-------------- 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/20081205/e6758bce/attachment.pgp
More information about the wine-patches
mailing list