Commit 507daae4 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

gdiplus: Remove unneeded casts.

parent a2e9b4bb
......@@ -235,10 +235,9 @@ COLORREF ARGB2COLORREF(ARGB color)
ARGB: aarrggbb
FIXME:doesn't handle alpha channel
*/
return (COLORREF)
((color & 0x0000ff) << 16) +
(color & 0x00ff00) +
((color & 0xff0000) >> 16);
return ((color & 0x0000ff) << 16) +
(color & 0x00ff00) +
((color & 0xff0000) >> 16);
}
/* Like atan2, but puts angle in correct quadrant if dx is 0. */
......
......@@ -570,6 +570,6 @@ GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
if(path->pathdata.Count == 0)
return Ok;
return GdipTransformMatrixPoints(matrix, (GpPointF*) path->pathdata.Points,
return GdipTransformMatrixPoints(matrix, path->pathdata.Points,
path->pathdata.Count);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment