git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applied MSVC compatibility patch from Dwight Kelly
[swftools.git]
/
lib
/
modules
/
swfobject.c
diff --git
a/lib/modules/swfobject.c
b/lib/modules/swfobject.c
index
c0abe75
..
ca6c6f3
100644
(file)
--- a/
lib/modules/swfobject.c
+++ b/
lib/modules/swfobject.c
@@
-204,9
+204,9
@@
void swf_GetPlaceObject(TAG * tag,SWFPLACEOBJECT* obj)
int l,t;
U8*data;
swf_ResetReadBits(tag);
- l = strlen(&tag->data[tag->pos]);
+ l = strlen((const char *)&tag->data[tag->pos]);
t = 0;
- data = rfx_alloc(l+1);
+ data = (U8*)rfx_alloc(l+1);
obj->name = data;
while((data[t++] = swf_GetU8(tag)));
}