diff options
| author | take_cheeze <[email protected]> | 2014-03-01 17:30:47 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-03-01 20:05:29 +0900 |
| commit | 23ef20624c6bbcefe0d3288496fe8520fdb2c68a (patch) | |
| tree | f3a4b7bcea4d207ccad9ba53896c4a760847d436 /include | |
| parent | 78915f96017a12e8c3c40a4a2714543c10d0d070 (diff) | |
| download | mruby-23ef20624c6bbcefe0d3288496fe8520fdb2c68a.tar.gz mruby-23ef20624c6bbcefe0d3288496fe8520fdb2c68a.zip | |
fix compile error
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/khash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/khash.h b/include/mruby/khash.h index 14d1bfa1f..1fbb569c3 100644 --- a/include/mruby/khash.h +++ b/include/mruby/khash.h @@ -136,8 +136,8 @@ kh_fill_flags(uint8_t *p, uint8_t c, size_t len) } \ khint_t kh_get_##name(mrb_state *mrb, kh_##name##_t *h, khkey_t key) \ { \ - (void)mrb; \ khint_t k = __hash_func(mrb,key) & (h->mask); \ + (void)mrb; \ while (!__ac_isempty(h->ed_flags, k)) { \ if (!__ac_isdel(h->ed_flags, k)) { \ if (__hash_equal(mrb,h->keys[k], key)) return k; \ |
