X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fxml.c;h=ff65c9eff917ced8154c43acf1ae7519c6164ab6;hp=ef2638812ff7d1b524d0b70a5643e0d925c2c815;hb=fad87cef81ecc02e7a1d9814d5e79fa3201b1fa7;hpb=41fb5e89c44428537fb52f597febfcb491377502 diff --git a/lib/xml.c b/lib/xml.c index ef26388..ff65c9e 100644 --- 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) {