Andrew Talbot : urlmon: Remove unneeded cast.

Alexandre Julliard julliard at winehq.org
Tue Jan 22 06:01:46 CST 2008


Module: wine
Branch: master
Commit: 41ed9106049eba89b9985ca72b204a99e7139f78
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=41ed9106049eba89b9985ca72b204a99e7139f78

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Jan 21 20:06:53 2008 +0000

urlmon: Remove unneeded cast.

---

 dlls/urlmon/umstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/urlmon/umstream.c b/dlls/urlmon/umstream.c
index 5403735..7523781 100644
--- a/dlls/urlmon/umstream.c
+++ b/dlls/urlmon/umstream.c
@@ -221,7 +221,7 @@ static HRESULT WINAPI IStream_fnRead (IStream * iface,
     if ( !pcbRead)
         pcbRead = &dwBytesRead;
 
-    if ( ! ReadFile( This->handle, pv, cb, (LPDWORD)pcbRead, NULL ) )
+    if ( ! ReadFile( This->handle, pv, cb, pcbRead, NULL ) )
        return S_FALSE;
 
     if (!*pcbRead)




More information about the wine-cvs mailing list