gdiplus: Remove a redundant cast.

This commit is contained in:
Dmitry Timoshkov 2012-06-19 16:51:24 +09:00 committed by Alexandre Julliard
parent 3439f28679
commit 527cae47e3
1 changed files with 1 additions and 1 deletions

View File

@ -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);