diff options
author | scuri <scuri> | 2010-06-11 21:53:47 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-11 21:53:47 +0000 |
commit | b96555cd065542fba0379750c87122e54f398313 (patch) | |
tree | 5d419eebdcf395cc32dc23997f0038dec72b22a3 /src/drv/cdcgm.c | |
parent | bff340f8ea36e31b199132100007bdc66519c7a3 (diff) |
*** empty log message ***
Diffstat (limited to 'src/drv/cdcgm.c')
-rw-r--r-- | src/drv/cdcgm.c | 8 |
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; } } |