X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfaction.c;h=70ddf3eabf288b51937c47945f4d06447622b153;hb=f52e48e2f55dd3a724da00a47552b7edba5f4dfa;hp=44cbee26e8cbe6ac6779708d8ca938a3cb8b9bf7;hpb=8aa70763b70b1eaacd67aa08df5b4c1774e43ec8;p=swftools.git diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index 44cbee2..70ddf3e 100644 --- a/lib/modules/swfaction.c +++ b/lib/modules/swfaction.c @@ -1015,7 +1015,7 @@ ActionTAG* action_PushLookup16(ActionTAG*atag, U16 index) *(U8*)&atag->tmp[2] = index>>8; return atag; } -ActionTAG* action_PushString(ActionTAG*atag, char*str) +ActionTAG* action_PushString(ActionTAG*atag, const char*str) { int l = strlen(str); char*ptr = (char*)rfx_alloc(l+2); @@ -1067,7 +1067,7 @@ ActionTAG* action_GotoLabel(ActionTAG*atag, char* label) char*ptr = strdup(label); return swf_AddActionTAG(atag, ACTION_GOTOLABEL, (U8*)ptr, strlen(ptr)); } -ActionTAG* action_GetUrl(ActionTAG*atag, char* url, char* label) +ActionTAG* action_GetUrl(ActionTAG*atag, const char* url, char* label) { int l1= strlen(url); int l2= strlen(label);