[2/2] gdiplus: Remove unnecessary cast from GdipAddPathRectangle
Nikolay Sivov
bunglehead at gmail.com
Thu Jul 3 09:35:18 CDT 2008
Changelog:
- Remove unnecessary cast from GdipAddPathRectangle
---
dlls/gdiplus/graphicspath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 6e5747f..1022fb4 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 */
--
1.4.4.4
More information about the wine-patches
mailing list