Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com> --- dlls/gdi32/dc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/gdi32/dc.c b/dlls/gdi32/dc.c index ea8047a4285..6023b930f58 100644 --- a/dlls/gdi32/dc.c +++ b/dlls/gdi32/dc.c @@ -1482,7 +1482,7 @@ BOOL WINAPI PolyPolyline( HDC hdc, const POINT *points, const DWORD *counts, DWO if (!(dc_attr = get_dc_attr( hdc ))) return FALSE; if (dc_attr->emf && !EMFDC_PolyPolyline( dc_attr, points, counts, polylines )) return FALSE; - return NtGdiPolyPolyDraw( hdc, points, counts, polylines, NtGdiPolyPolyline ); + return NtGdiPolyPolyDraw( hdc, points, (const UINT *)counts, polylines, NtGdiPolyPolyline ); } /****************************************************************************** @@ -1496,7 +1496,7 @@ BOOL WINAPI PolyBezier( HDC hdc, const POINT *points, DWORD count ) if (!(dc_attr = get_dc_attr( hdc ))) return FALSE; if (dc_attr->emf && !EMFDC_PolyBezier( dc_attr, points, count )) return FALSE; - return NtGdiPolyPolyDraw( hdc, points, &count, 1, NtGdiPolyBezier ); + return NtGdiPolyPolyDraw( hdc, points, (const UINT *)&count, 1, NtGdiPolyBezier ); } /****************************************************************************** @@ -1510,7 +1510,7 @@ BOOL WINAPI PolyBezierTo( HDC hdc, const POINT *points, DWORD count ) if (!(dc_attr = get_dc_attr( hdc ))) return FALSE; if (dc_attr->emf && !EMFDC_PolyBezierTo( dc_attr, points, count )) return FALSE; - return NtGdiPolyPolyDraw( hdc, points, &count, 1, NtGdiPolyBezierTo ); + return NtGdiPolyPolyDraw( hdc, points, (const UINT *)&count, 1, NtGdiPolyBezierTo ); } /********************************************************************** @@ -1524,7 +1524,7 @@ BOOL WINAPI PolylineTo( HDC hdc, const POINT *points, DWORD count ) if (!(dc_attr = get_dc_attr( hdc ))) return FALSE; if (dc_attr->emf && !EMFDC_PolylineTo( dc_attr, points, count )) return FALSE; - return NtGdiPolyPolyDraw( hdc, points, &count, 1, NtGdiPolylineTo ); + return NtGdiPolyPolyDraw( hdc, points, (const UINT *)&count, 1, NtGdiPolylineTo ); } /***********************************************************************