summaryrefslogtreecommitdiff
path: root/src/drv/cdcgm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drv/cdcgm.c')
-rw-r--r--src/drv/cdcgm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drv/cdcgm.c b/src/drv/cdcgm.c
index 94b1619..19f6ad7 100644
--- a/src/drv/cdcgm.c
+++ b/src/drv/cdcgm.c
@@ -567,10 +567,10 @@ static void cdpoly(cdCtxCanvas *ctxcanvas, int mode, cdPoint* poly, int n)
cgm_polygon( ctxcanvas->cgm, n, fpoly);
break;
case CD_BEZIER:
- cdfSimPolyBezier(ctxcanvas->canvas, fpoly, n);
+ cdfSimPolyBezier(ctxcanvas->canvas, (cdfPoint*)fpoly, n);
break;
case CD_PATH:
- cdfSimPolyPath(ctxcanvas->canvas, fpoly, n);
+ cdfSimPolyPath(ctxcanvas->canvas, (cdfPoint*)fpoly, n);
break;
}
@@ -602,10 +602,10 @@ static void cdfpoly(cdCtxCanvas *ctxcanvas, int mode, cdfPoint* poly, int n)
cgm_polygon( ctxcanvas->cgm, n, fpoly);
break;
case CD_BEZIER:
- cdfSimPolyBezier(ctxcanvas->canvas, fpoly, n);
+ cdfSimPolyBezier(ctxcanvas->canvas, poly, n);
break;
case CD_PATH:
- cdfSimPolyPath(ctxcanvas->canvas, fpoly, n);
+ cdfSimPolyPath(ctxcanvas->canvas, poly, n);
break;
}
}