[PATCH] gdiplus: Remove superfluous cast to self

Michael Stefaniuc mstefani at winehq.org
Mon Sep 28 14:28:05 CDT 2020


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/gdiplus/metafile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c
index e52932da11a..e9855c72261 100644
--- a/dlls/gdiplus/metafile.c
+++ b/dlls/gdiplus/metafile.c
@@ -3482,7 +3482,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
 
             if (flags & 0x8000)
             {
-                stat = GdipCreateSolidFill(draw->brush.Color, (GpSolidFill**)&solidfill);
+                stat = GdipCreateSolidFill(draw->brush.Color, &solidfill);
 
                 if (stat != Ok)
                     return InvalidParameter;
-- 
2.26.2




More information about the wine-devel mailing list