Permalink
Browse files

Merge pull request #1845 from ksss/sym_intern-argument-type

fix sym_intern argument type
  • Loading branch information...
2 parents 6dd2f36 + 58a5e83 commit fee639775e18778bd84a7836500c192e53f194b7 @matz matz 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 fee6397

Please sign in to comment.