set previously uninitialized variables
[swftools.git] / lib / modules / swfaction.c
index 44cbee2..70ddf3e 100644 (file)
@@ -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);