windowscodecs: Fix build failure on OSX.

Sebastian Lackner sebastian at fds-team.de
Tue Jun 30 14:02:19 CDT 2015


The build failure unfortunately was introduced by my last patch
http://source.winehq.org/git/wine.git/commit/863f432a7d73b8b480a742fcbaf01de33964cc21

Somehow I missed that this part is OSX specific and tested on Linux only - sorry for
the trouble. :/ The patch was tested by jam__ on IRC, would be nice if someone could
double check that no other warnings were introduced by my original commit.

---
 dlls/windowscodecs/icnsformat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/windowscodecs/icnsformat.c b/dlls/windowscodecs/icnsformat.c
index 54c7707..5d48a1a 100644
--- a/dlls/windowscodecs/icnsformat.c
+++ b/dlls/windowscodecs/icnsformat.c
@@ -179,7 +179,7 @@ static ULONG WINAPI IcnsFrameEncode_Release(IWICBitmapFrameEncode *iface)
         if (This->icns_image != NULL)
             HeapFree(GetProcessHeap(), 0, This->icns_image);
 
-        IWICBitmapFrameEncode_Release(&This->encoder->IWICBitmapFrameEncode_iface);
+        IWICBitmapEncoder_Release(&This->encoder->IWICBitmapEncoder_iface);
         HeapFree(GetProcessHeap(), 0, This);
     }
 
-- 
2.4.4



More information about the wine-patches mailing list