Module: wine Branch: master Commit: 95ced6e1f5de059afe31a70483e958a8d1404dea URL: http://source.winehq.org/git/wine.git/?a=commit;h=95ced6e1f5de059afe31a70483...
Author: Nikolay Sivov bunglehead@gmail.com Date: Thu Jul 3 18:35:18 2008 +0400
gdiplus: 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 */