diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-05 07:26:16 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-05 07:26:16 +0900 |
| commit | 2667371e1eda37a305e625132c4b0ac2ef70deb2 (patch) | |
| tree | efcd2c5ccbd424bf661b4168410265093d99835f | |
| parent | 47d1701fb4d94c8710c4045372c6aa9dd4f5e909 (diff) | |
| parent | d59b738b43d6701049aaf2d0b476fc3a11931093 (diff) | |
| download | mruby-2667371e1eda37a305e625132c4b0ac2ef70deb2.tar.gz mruby-2667371e1eda37a305e625132c4b0ac2ef70deb2.zip | |
Merge pull request #1796 from mattn/fix_1793
Fix #1793
| -rw-r--r-- | mrbgems/mruby-random/src/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-random/src/random.c b/mrbgems/mruby-random/src/random.c index 9fb5bbfd8..5b291bf61 100644 --- a/mrbgems/mruby-random/src/random.c +++ b/mrbgems/mruby-random/src/random.c @@ -76,7 +76,7 @@ get_opt(mrb_state* mrb) { mrb_value arg; - arg = mrb_fixnum_value(0); + arg = mrb_nil_value(); mrb_get_args(mrb, "|o", &arg); if (!mrb_nil_p(arg)) { |
