fiber.c: cast integer to avoid a warning.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-04-14 10:53:58 +09:00
parent fef7deabd5
commit 3c96ee704b
+1 -1
View File
@@ -224,7 +224,7 @@ fiber_switch(mrb_state *mrb, mrb_value self, mrb_int len, const mrb_value *a, mr
*b++ = *a++;
}
}
c->cibase->n = len;
c->cibase->n = (uint8_t)len;
value = c->stbase[0] = MRB_PROC_ENV(c->cibase->proc)->stack[0];
}
else {