From: kramm Date: Thu, 16 Dec 2004 10:45:04 +0000 (+0000) Subject: added gcc 2.95.x support. X-Git-Tag: release-0-6-3~94 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=586c8e8bd1b972e9de6702f846d28400c71c7522 added gcc 2.95.x support. --- diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 4a409ac..dbf0cd6 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -1496,10 +1496,11 @@ int swf_WriteCGI(SWF * swf) SWF* swf_CopySWF(SWF*swf) { SWF*nswf = rfx_alloc(sizeof(SWF)); + TAG*tag, *ntag; memcpy(nswf, swf, sizeof(SWF)); nswf->firstTag = 0; - TAG*tag = swf->firstTag; - TAG*ntag = 0; + tag = swf->firstTag; + ntag = 0; while(tag) { ntag = swf_CopyTag(ntag, tag); if(!nswf->firstTag)