Fix FTBFS with stricter C++11

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a23a5364c5)
r14.0.x
Slávek Banko 6 years ago
parent 76aca1554e
commit 7849cd4016
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -75,11 +75,11 @@ ArtSVP *art_svp_from_rect(int x0, int y0, int x1, int y1)
{
ArtVpath vpath[] =
{
{ ART_MOVETO, x0, y0 },
{ ART_LINETO, x0, y1 },
{ ART_LINETO, x1, y1 },
{ ART_LINETO, x1, y0 },
{ ART_LINETO, x0, y0 },
{ ART_MOVETO, (double)x0, (double)y0 },
{ ART_LINETO, (double)x0, (double)y1 },
{ ART_LINETO, (double)x1, (double)y1 },
{ ART_LINETO, (double)x1, (double)y0 },
{ ART_LINETO, (double)x0, (double)y0 },
{ ART_END, 0, 0}
};

Loading…
Cancel
Save