Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

fix sym_intern argument type
  • Loading branch information...
commit fee639775e18778bd84a7836500c192e53f194b7 2 parents 6dd2f36 + 58a5e83
@matz matz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/symbol.c
2  src/symbol.c
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.