summaryrefslogtreecommitdiffhomepage
path: root/src/hash.c
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-03-12 10:18:38 +0900
committertake_cheeze <[email protected]>2014-03-12 10:18:38 +0900
commit7c4961234d95536f46e98b6801db506ca7017377 (patch)
treed82e58b8c3824ebc658d779f057cd0733d57e564 /src/hash.c
parentfee639775e18778bd84a7836500c192e53f194b7 (diff)
downloadmruby-7c4961234d95536f46e98b6801db506ca7017377.tar.gz
mruby-7c4961234d95536f46e98b6801db506ca7017377.zip
fix mrb_funcall calling
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index 9fbec3fd8..86ad4c63d 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -18,7 +18,7 @@ mrb_hash_ht_hash_func(mrb_state *mrb, mrb_value key)
khint_t h = (khint_t)mrb_type(key) << 24;
mrb_value h2;
- h2 = mrb_funcall(mrb, key, "hash", 0, 0);
+ h2 = mrb_funcall(mrb, key, "hash", 0);
h ^= h2.value.i;
return h;
}