aboutsummaryrefslogtreecommitdiffstats
path: root/libart_lgpl/art_vpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'libart_lgpl/art_vpath.c')
-rw-r--r--libart_lgpl/art_vpath.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libart_lgpl/art_vpath.c b/libart_lgpl/art_vpath.c
index bfdb9acca5..395917915b 100644
--- a/libart_lgpl/art_vpath.c
+++ b/libart_lgpl/art_vpath.c
@@ -46,10 +46,10 @@
* desired.
**/
void
-art_vpath_add_point (ArtVpath **p_vpath, int *pn_points, int *pn_points_max,
- ArtPathcode code, double x, double y)
+art_vpath_add_point (ArtVpath **p_vpath, gint *pn_points, gint *pn_points_max,
+ ArtPathcode code, gdouble x, gdouble y)
{
- int i;
+ gint i;
i = (*pn_points)++;
if (i == *pn_points_max)
@@ -69,8 +69,8 @@ art_vpath_add_point (ArtVpath **p_vpath, int *pn_points, int *pn_points_max,
void
art_vpath_bbox_drect (const ArtVpath *vec, ArtDRect *drect)
{
- int i;
- double x0, y0, x1, y1;
+ gint i;
+ gdouble x0, y0, x1, y1;
if (vec[0].code == ART_END)
{