Module: wine Branch: master Commit: 3bb5fcd5f3441cbae74edf942cbe41e64d37d3d3 URL: https://gitlab.winehq.org/wine/wine/-/commit/3bb5fcd5f3441cbae74edf942cbe41e...
Author: Michael Stefaniuc mstefani@winehq.org Date: Sun Jun 11 21:55:24 2023 +0300
gdiplus/tests: Remove superfluous casts to self.
---
dlls/gdiplus/tests/customlinecap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/gdiplus/tests/customlinecap.c b/dlls/gdiplus/tests/customlinecap.c index 4ff090ddce0..6aecf1c7dc4 100644 --- a/dlls/gdiplus/tests/customlinecap.c +++ b/dlls/gdiplus/tests/customlinecap.c @@ -395,13 +395,13 @@ static void test_strokecap(void) stat = GdipCreateCustomLineCap(NULL, path, LineCapFlat, 0.0, &cap); ok(stat == Ok, "Failed to create cap, %d\n", stat);
- stat = GdipSetCustomLineCapStrokeCaps((GpCustomLineCap*)cap, LineCapSquare, LineCapFlat); + stat = GdipSetCustomLineCapStrokeCaps(cap, LineCapSquare, LineCapFlat); ok(stat == Ok, "Unexpected return code, %d\n", stat);
- stat = GdipSetCustomLineCapStrokeCaps((GpCustomLineCap*)cap, LineCapSquareAnchor, LineCapFlat); + stat = GdipSetCustomLineCapStrokeCaps(cap, LineCapSquareAnchor, LineCapFlat); ok(stat == InvalidParameter, "Unexpected return code, %d\n", stat);
- stat = GdipSetCustomLineCapStrokeCaps((GpCustomLineCap*)cap, LineCapFlat, LineCapSquareAnchor); + stat = GdipSetCustomLineCapStrokeCaps(cap, LineCapFlat, LineCapSquareAnchor); ok(stat == InvalidParameter, "Unexpected return code, %d\n", stat); GdipDeleteCustomLineCap(cap); GdipDeletePath(path);