X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fpoly.c;h=eb1b6b1b70947742597c257f315d3f8e3ceb4020;hp=53b45e258c2fbe0587943d7de2d39d184f086bc2;hb=2391d7ae5d8a145a250a8b80ab8c93ba74eba030;hpb=05861649cece70d65e7ba84c3696039c0143ce9c diff --git a/lib/gfxpoly/poly.c b/lib/gfxpoly/poly.c index 53b45e2..eb1b6b1 100644 --- a/lib/gfxpoly/poly.c +++ b/lib/gfxpoly/poly.c @@ -201,10 +201,10 @@ void gfxpoly_dump(gfxpoly_t*poly) { int s,t; double g = poly->gridsize; - fprintf(stderr, "polyon %08x (gridsize: %f)\n", poly, poly->gridsize); + fprintf(stderr, "polyon %08x (gridsize: %f)\n", (int)poly, poly->gridsize); gfxpolystroke_t*stroke = poly->strokes; for(;stroke;stroke=stroke->next) { - fprintf(stderr, "%08x", stroke); + fprintf(stderr, "%08x", (int)stroke); for(s=0;snum_points-1;s++) { point_t a = stroke->points[s]; point_t b = stroke->points[s+1];