diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-12 16:26:51 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-12 16:26:51 +0900 |
| commit | b52078aa920fc053f1ff81577d84c8619c520318 (patch) | |
| tree | 1930a0e3f0795a970ee6c217925df192638c7445 /mrbgems/mruby-compiler | |
| parent | 4ae5ae353564291cdb28108c26382c32242966a8 (diff) | |
| download | mruby-b52078aa920fc053f1ff81577d84c8619c520318.tar.gz mruby-b52078aa920fc053f1ff81577d84c8619c520318.zip | |
codegen.c: avoid integer comparison of different sign.
Diffstat (limited to 'mrbgems/mruby-compiler')
| -rw-r--r-- | mrbgems/mruby-compiler/core/codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c index d02dd82f2..c1a0f8afa 100644 --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -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]; |
