pack.c: fix integer signedness mixture.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-07-08 09:59:14 +09:00
parent 06b1662807
commit f9303699d1
+1 -1
View File
@@ -383,7 +383,7 @@ static int
pack_w(mrb_state *mrb, mrb_value o, mrb_value str, mrb_int sidx, unsigned int flags)
{
mrb_int n = mrb_integer(o);
mrb_int i;
size_t i;
char *p;
if (n < 0) {