From 4164b567ec4ba94642687088ba796c8bddeb1b8e Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 23 Jul 2005 08:26:24 +0000 Subject: [PATCH] gcc 2.95.x fixes --- src/swfbbox.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/swfbbox.c b/src/swfbbox.c index 52296f8..712c2d0 100644 --- a/src/swfbbox.c +++ b/src/swfbbox.c @@ -232,8 +232,9 @@ static placement_t* readPlacements(SWF*swf) while(tag) { if(tag->id == ST_PLACEOBJECT || tag->id == ST_PLACEOBJECT2) { SWFPLACEOBJECT*po = rfx_alloc(sizeof(SWFPLACEOBJECT)); + int id; swf_GetPlaceObject(tag, po); - int id = po->id; + id = po->id; if(po->move) { fprintf(stderr, "MOVE tags not supported with -c"); } @@ -354,7 +355,7 @@ static void textcallback(void*self, int*chars, int*xpos, int nr, int fontid, int /* not tested yet- the matrix/fontsize calculation is probably all wrong */ int x = xstart + xpos[t]; int y = ystart; - int ch; + int ch = 0; SRECT newglyphbbox, glyphbbox = font->layout->bounds[chars[t]]; MATRIX m = bounds->m; SPOINT p; -- 1.7.10.4