From 364e6b5a50b9941856ef971dc6ca2d7cf2e4212a Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Fri, 1 Jun 2012 09:44:19 +0900 Subject: symbol table key should be mrb_sym, not int32_t --- src/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/symbol.c b/src/symbol.c index 89e81af0e..aa5b659fa 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -17,7 +17,7 @@ #include /* ------------------------------------------------------ */ -KHASH_MAP_INIT_INT(s2n, const char*); +KHASH_INIT(s2n, mrb_sym, const char*, 1, kh_int_hash_func, kh_int_hash_equal) KHASH_MAP_INIT_STR(n2s, mrb_sym); /* ------------------------------------------------------ */ mrb_sym -- cgit v1.2.3