git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db19c6
)
fixed swf_Optimize(). always return positive tag hash.
author
kramm
<kramm>
Wed, 3 Nov 2004 18:52:41 +0000
(18:52 +0000)
committer
kramm
<kramm>
Wed, 3 Nov 2004 18:52:41 +0000
(18:52 +0000)
lib/modules/swftools.c
patch
|
blob
|
history
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)