mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
99d4629d59
added explicit (int) casts when passing mrb_int count to pack/unpack functions that expect int parameters. fixes C4244 warnings on windows msvc builds where mrb_int is 64-bit but int is 32-bit. count is validated to not exceed INT_MAX by read_tmpl, making these casts safe. Co-authored-by: Claude <noreply@anthropic.com>