diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-07-13 13:13:21 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-07-13 13:13:21 +0900 |
| commit | 9741df100bb84a858725dba58705a908e5bdca4c (patch) | |
| tree | 6b4ad759ab3c16e74755e275d8aa719b54e9626e | |
| parent | 6b1cc6e2fe4eab30e265d8209a208e0bf942c54d (diff) | |
| download | mruby-9741df100bb84a858725dba58705a908e5bdca4c.tar.gz mruby-9741df100bb84a858725dba58705a908e5bdca4c.zip | |
Change type of a variable for signedness mismatch; ref #4573
| -rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index 056348921..a6aa9d906 100644 --- a/src/string.c +++ b/src/string.c @@ -313,7 +313,7 @@ str_index_str_by_char_search(mrb_state *mrb, const char *p, const char *pend, co /* Preprocessing */ { - size_t i; + mrb_int i; for (i = 0; i < 1 << CHAR_BIT; i ++) { qstable[i] = slen; |
