git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed segfault in remove_font_transforms filter
[swftools.git]
/
lib
/
xml.c
diff --git
a/lib/xml.c
b/lib/xml.c
index
ef26388
..
ff65c9e
100644
(file)
--- a/
lib/xml.c
+++ b/
lib/xml.c
@@
-221,7
+221,7
@@
int xml_parse(reader_t*reader, xmlconsumer_t*out)
/* inner loop */
do {
- state = new_state[old=state][group[buffer[pos++]]];
+ state = new_state[old=state][group[(unsigned char)buffer[pos++]]];
} while(state>=0);
switch(state) {