fix the type of value that is returned by bit-shift expression.

This commit is contained in:
crimsonwoods
2013-03-21 22:57:14 +09:00
parent 0292940e55
commit c1f6a27660
+1 -1
View File
@@ -15,7 +15,7 @@
static inline khint_t
mrb_hash_ht_hash_func(mrb_state *mrb, mrb_value key)
{
khint_t h = mrb_type(key) << 24;
khint_t h = (khint_t)mrb_type(key) << 24;
mrb_value h2;
h2 = mrb_funcall(mrb, key, "hash", 0, 0);