Fixed some typos.
[libfirm] / ir / ident / ident.c
index fd5c5d1..8a23dfa 100644 (file)
@@ -46,7 +46,7 @@ void init_ident(void)
 
 ident *new_id_from_chars(const char *str, size_t len)
 {
-       unsigned hash   = HASH_STR(str, len);
+       unsigned hash   = hash_data((const unsigned char*)str, len);
        ident   *result = (ident*) set_hinsert0(id_set, str, len, hash);
        return result;
 }