From 41ed9106049eba89b9985ca72b204a99e7139f78 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Mon, 21 Jan 2008 20:06:53 +0000 Subject: [PATCH] urlmon: Remove unneeded cast. --- dlls/urlmon/umstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/urlmon/umstream.c b/dlls/urlmon/umstream.c index 54037354ea5..7523781d77e 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)