From f4c2f2b0c4155f22346869c0d29ec0e1866739f8 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 5 Dec 2008 07:49:17 +0100 Subject: [PATCH] wnaspi32: Remove some superfluous casts. --- dlls/wnaspi32/winaspi32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/wnaspi32/winaspi32.c b/dlls/wnaspi32/winaspi32.c index 94ed418d7b6..45b352cb5ef 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 }