X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfaction.c;h=f1258bd2827f294a870b9923927f806ef1c520ad;hb=e0a27e1bd83ff2d60745dd6030e0f5ef7ef97b82;hp=9f44d4b6289bf20fbc61eff4926c74304b61f9d3;hpb=0f54ba811030f2579cce874ef577e36d1c75270b;p=swftools.git diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index 9f44d4b..f1258bd 100644 --- a/lib/modules/swfaction.c +++ b/lib/modules/swfaction.c @@ -969,7 +969,7 @@ ActionTAG* action_WaitForFrame(ActionTAG*atag, U16 frame, U8 skip) *(U8*)&atag->tmp[2] = skip; return atag; } -ActionTAG* action_SetTarget(ActionTAG*atag, char* target) +ActionTAG* action_SetTarget(ActionTAG*atag, const char* target) { char*ptr = strdup(target); return swf_AddActionTAG(atag, ACTION_SETTARGET, (U8*)ptr, strlen(ptr)+1);