mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
variable.c: use size_t to avoid integer type mismatch.
This commit is contained in:
+1
-1
@@ -486,7 +486,7 @@ mrb_value
|
||||
mrb_obj_iv_inspect(mrb_state *mrb, struct RObject *obj)
|
||||
{
|
||||
iv_tbl *t = obj->iv;
|
||||
int len = iv_size(mrb, t);
|
||||
size_t len = iv_size(mrb, t);
|
||||
|
||||
if (len > 0) {
|
||||
const char *cn = mrb_obj_classname(mrb, mrb_obj_value(obj));
|
||||
|
||||
Reference in New Issue
Block a user