Permalink
Browse files

fix sym_intern argument type

  • Loading branch information...
1 parent 6dd2f36 commit 58a5e832d9b6572a5e341129a8e26c3faaa7ded2 @ksss ksss committed Mar 11, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/symbol.c
View
@@ -35,7 +35,7 @@ KHASH_DECLARE(n2s, symbol_name, mrb_sym, 1)
KHASH_DEFINE (n2s, symbol_name, mrb_sym, 1, sym_hash_func, sym_hash_equal)
/* ------------------------------------------------------ */
static mrb_sym
-sym_intern(mrb_state *mrb, const char *name, size_t len, int lit)
+sym_intern(mrb_state *mrb, const char *name, size_t len, mrb_bool lit)
{
khash_t(n2s) *h = mrb->name2sym;
symbol_name sname;

0 comments on commit 58a5e83

Please sign in to comment.