replace FIXNUM_P() by mrb_fixnum_p()

This commit is contained in:
Yukihiro Matz Matsumoto
2012-11-04 04:49:43 +09:00
parent 52f7e83726
commit 3ba521ae9e
6 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -719,7 +719,7 @@ mrb_ary_aset(mrb_state *mrb, mrb_value self)
mrb_get_args(mrb, "*", &argv, &argc);
switch(argc) {
case 2:
if (FIXNUM_P(argv[0])) {
if (mrb_fixnum_p(argv[0])) {
mrb_ary_set(mrb, self, mrb_fixnum(argv[0]), argv[1]);
}
else {