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

gdiplus: Remove unneeded casts.

parent a2e9b4bb
...@@ -235,8 +235,7 @@ COLORREF ARGB2COLORREF(ARGB color) ...@@ -235,8 +235,7 @@ COLORREF ARGB2COLORREF(ARGB color)
ARGB: aarrggbb ARGB: aarrggbb
FIXME:doesn't handle alpha channel FIXME:doesn't handle alpha channel
*/ */
return (COLORREF) return ((color & 0x0000ff) << 16) +
((color & 0x0000ff) << 16) +
(color & 0x00ff00) + (color & 0x00ff00) +
((color & 0xff0000) >> 16); ((color & 0xff0000) >> 16);
} }
......
...@@ -570,6 +570,6 @@ GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix) ...@@ -570,6 +570,6 @@ GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
if(path->pathdata.Count == 0) if(path->pathdata.Count == 0)
return Ok; return Ok;
return GdipTransformMatrixPoints(matrix, (GpPointF*) path->pathdata.Points, return GdipTransformMatrixPoints(matrix, path->pathdata.Points,
path->pathdata.Count); 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