mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
prevent printf warning
This commit is contained in:
+1
-1
@@ -2648,7 +2648,7 @@ print_r(mrb_state *mrb, mrb_irep *irep, size_t n, int pre)
|
||||
if (irep->lv[i].r == n) {
|
||||
mrb_sym sym = irep->lv[i].name;
|
||||
if (pre) printf(" ");
|
||||
printf("R%d:%s", n, mrb_sym2name(mrb, sym));
|
||||
printf("R%d:%s", (int)n, mrb_sym2name(mrb, sym));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user