From 95ced6e1f5de059afe31a70483e958a8d1404dea Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 3 Jul 2008 18:35:18 +0400 Subject: [PATCH] gdiplus: Remove unnecessary cast from GdipAddPathRectangle. --- dlls/gdiplus/graphicspath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 6e5747ff049..1022fb45ddd 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -813,7 +813,7 @@ GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath *path, REAL x, REAL y, ptf[1].X = x; ptf[1].Y = y+height; - if((retstat = GdipAddPathLine2(path,(GDIPCONST GpPointF*)&ptf,2)) != Ok) goto fail; + if((retstat = GdipAddPathLine2(path, ptf, 2)) != Ok) goto fail; path->pathdata.Types[path->pathdata.Count-1] |= PathPointTypeCloseSubpath; /* free backup */