mruby-sprintf: add type cast to silence warning

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-03-25 08:08:26 +09:00
parent 7e18b1dadb
commit 4ca61298ac
+1 -1
View File
@@ -608,7 +608,7 @@ retry:
}
mrb_value str = mrb_bint_to_s(mrb, val, base);
s = RSTRING_PTR(str);
len = RSTRING_LEN(str);
len = (int)RSTRING_LEN(str);
}
goto str_skip;
#endif