urlmon: Remove unneeded cast

Andrew Talbot andrew.talbot at talbotville.com
Mon Jan 21 14:06:53 CST 2008


Changelog:
    urlmon: Remove unneeded cast.

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-patches mailing list