summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
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;