d2d1: Make qsort() callback functions cdecl.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-08-22 09:56:00 +02:00
parent ca1c153422
commit 3feed5a23f

View file

@ -1272,7 +1272,7 @@ static BOOL d2d_cdt_triangulate(struct d2d_cdt *cdt, size_t start_vertex, size_t
return TRUE;
}
static int d2d_cdt_compare_vertices(const void *a, const void *b)
static int __cdecl d2d_cdt_compare_vertices(const void *a, const void *b)
{
const D2D1_POINT_2F *p0 = a;
const D2D1_POINT_2F *p1 = b;
@ -1623,7 +1623,7 @@ static BOOL d2d_geometry_intersections_add(struct d2d_geometry_intersections *i,
return TRUE;
}
static int d2d_geometry_intersections_compare(const void *a, const void *b)
static int __cdecl d2d_geometry_intersections_compare(const void *a, const void *b)
{
const struct d2d_geometry_intersection *i0 = a;
const struct d2d_geometry_intersection *i1 = b;