diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-01-31 09:25:10 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-01-31 09:25:10 +0900 |
| commit | c0a6439a693f77be1c4ef77620be00c8433d8da1 (patch) | |
| tree | 56af9a5a595a1b7b2c3ad3beff3d17294b3547d8 /src/hash.c | |
| parent | 10c2b7ee1c2783498efa14a41648cbd8a7a99453 (diff) | |
| download | mruby-c0a6439a693f77be1c4ef77620be00c8433d8da1.tar.gz mruby-c0a6439a693f77be1c4ef77620be00c8433d8da1.zip | |
Avoid implicit integer casting in `backtrace.c` and `hash.c`.
Diffstat (limited to 'src/hash.c')
| -rw-r--r-- | src/hash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hash.c b/src/hash.c index 70f437358..8e7f97147 100644 --- a/src/hash.c +++ b/src/hash.c @@ -222,9 +222,8 @@ static void ht_compact(mrb_state *mrb, htable *t) { segment *seg; - mrb_int i; + uint16_t i, i2; segment *seg2 = NULL; - mrb_int i2; mrb_int size = 0; if (t == NULL) return; |
