Commit d59b738b authored by mattn's avatar mattn

Fix #1793

parent 7a607112
...@@ -76,7 +76,7 @@ get_opt(mrb_state* mrb) ...@@ -76,7 +76,7 @@ get_opt(mrb_state* mrb)
{ {
mrb_value arg; mrb_value arg;
arg = mrb_fixnum_value(0); arg = mrb_nil_value();
mrb_get_args(mrb, "|o", &arg); mrb_get_args(mrb, "|o", &arg);
if (!mrb_nil_p(arg)) { if (!mrb_nil_p(arg)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment