[PATCH] gdiplus: Avoid using the comma operator

Michael Stefaniuc mstefani at winehq.org
Fri Mar 22 02:47:34 CDT 2019


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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 42b7e8457c..e65d4a29b2 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -67,7 +67,7 @@ GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone)
             *clone = heap_alloc_zero(sizeof(GpPathGradient));
             if (!*clone) return OutOfMemory;
 
-            src = (GpPathGradient*) brush,
+            src = (GpPathGradient*) brush;
             dest = (GpPathGradient*) *clone;
 
             memcpy(dest, src, sizeof(GpPathGradient));
-- 
2.20.1




More information about the wine-devel mailing list