Dmitry Timoshkov : gdiplus: Remove a redundant cast.
Alexandre Julliard
julliard at winehq.org
Tue Jun 19 15:36:27 CDT 2012
Module: wine
Branch: master
Commit: 527cae47e35e9381f4d6641ed17cbb32311c6603
URL: http://source.winehq.org/git/wine.git/?a=commit;h=527cae47e35e9381f4d6641ed17cbb32311c6603
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Tue Jun 19 16:51:24 2012 +0900
gdiplus: Remove a redundant cast.
---
dlls/gdiplus/image.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index dd4dcea..4fba788 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -2605,7 +2605,7 @@ static GpStatus decode_image_wic(IStream* stream, REFCLSID clsid, GpImage **imag
&IID_IWICBitmapDecoder, (void**)&decoder);
if (FAILED(hr)) goto end;
- hr = IWICBitmapDecoder_Initialize(decoder, (IStream*)stream, WICDecodeMetadataCacheOnLoad);
+ hr = IWICBitmapDecoder_Initialize(decoder, stream, WICDecodeMetadataCacheOnLoad);
if (SUCCEEDED(hr))
{
IWICBitmapDecoder_GetFrameCount(decoder, &frame_count);
More information about the wine-cvs
mailing list