* random.c (random_bytes): use NUM2LONG instead of FIX2LONG because
Random#bytes may receive bignum. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df878f78c5
commit
6937a3e26f
@ -1,3 +1,8 @@
|
||||
Thu Jul 30 21:43:41 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* random.c (random_bytes): use NUM2LONG instead of FIX2LONG because
|
||||
Random#bytes may receive bignum.
|
||||
|
||||
Thu Jul 30 21:39:42 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* compile.c (iseq_compile_each): fix stack consistency error.
|
||||
|
Loading…
x
Reference in New Issue
Block a user