codegen.c: avoid integer comparison of different sign.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-03-12 16:26:51 +09:00
parent 4ae5ae3535
commit b52078aa92
+1 -1
View File
@@ -600,7 +600,7 @@ new_litbn(codegen_scope *s, const char *p, int base, mrb_bool neg)
codegen_error(s, "integer too big");
}
for (i=0; i<s->irep->plen; i++) {
mrb_int len;
size_t len;
pv = &s->pool[i];
if (pv->tt != IREP_TT_BIGINT) continue;
len = pv->u.str[0];