fixed some compiler warnings, fixed as3compile spec for-in.as
[swftools.git] / lib / as3 / tokenizer.yy.c
index e883194..782d3eb 100644 (file)
@@ -1914,7 +1914,7 @@ void tokenizer_unregister_namespace(const char*id)
 }*/
 static inline char tokenizer_is_namespace(const char*id)
 {
-    return trie_contains(active_namespaces, id);
+    return trie_contains(active_namespaces, (const unsigned char*)id);
 }
 
 static inline int handleIdentifier()