class.c: make keyword_max mrb_int; ref #4754

Which is compared to other mrb_int.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-10-16 10:05:54 +09:00
parent 9553284480
commit 10d4a4278e
+1 -1
View File
@@ -1268,7 +1268,7 @@ get_args_v(mrb_state *mrb, mrb_args_format format, void** ptr, va_list *ap)
const mrb_sym *kname = kwargs->table;
mrb_value *values = kwargs->values;
mrb_int j;
const uint32_t keyword_max = 40;
const mrb_int keyword_max = 40;
mrb_assert(kwnum >= 0);
mrb_assert(required >= 0);