Michael Stefaniuc : gdiplus: Remove superfluous cast to self.

Alexandre Julliard julliard at winehq.org
Mon Sep 28 14:49:27 CDT 2020


Module: wine
Branch: master
Commit: 812eb3c41d5eae82835c5ea507bb1041edf5ba7b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=812eb3c41d5eae82835c5ea507bb1041edf5ba7b

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Mon Sep 28 21:28:05 2020 +0200

gdiplus: Remove superfluous cast to self.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard 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 e52932da11..e9855c7226 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;




More information about the wine-cvs mailing list