git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: don't insert too many removeobjects.
[swftools.git]
/
lib
/
modules
/
swftools.c
diff --git
a/lib/modules/swftools.c
b/lib/modules/swftools.c
index
e92b44f
..
2de52f7
100644
(file)
--- a/
lib/modules/swftools.c
+++ b/
lib/modules/swftools.c
@@
-944,7
+944,7
@@
static int tagHash(TAG*tag)
a >>= 8;
a += tag->data[t]*0xefbc35a5*b*(t+1);
}
- return a;
+ return a&0x7fffffff; //always return unsigned
}
void swf_Optimize(SWF*swf)