summaryrefslogtreecommitdiffhomepage
path: root/src/hash.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-03-12 11:16:58 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-03-12 11:16:58 +0900
commit9b7198c2224057110bd77d9342d46d36410baa27 (patch)
treed82e58b8c3824ebc658d779f057cd0733d57e564 /src/hash.c
parentfee639775e18778bd84a7836500c192e53f194b7 (diff)
parent7c4961234d95536f46e98b6801db506ca7017377 (diff)
downloadmruby-9b7198c2224057110bd77d9342d46d36410baa27.tar.gz
mruby-9b7198c2224057110bd77d9342d46d36410baa27.zip
Merge pull request #1846 from take-cheeze/funcall_fix
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;
}