diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-09 03:52:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-09 03:52:09 +0000 |
commit | ad949e8f31ac43a1805716dfb6382bbdaa0d9ec1 (patch) | |
tree | 94677e7dffeb59aabd9351203564d67fe14b0336 /test/ruby/test_extlibs.rb | |
parent | 639bfd6d9c52ba7b5371986af8a3329c46bd62a1 (diff) | |
download | ruby-ad949e8f31ac43a1805716dfb6382bbdaa0d9ec1.tar.gz |
random.c: seed conversion
* random.c (rand_init): random_seed() always returns an Integer,
no conversion for it.
* random.c (random_init, rb_f_srand): convert the given seed to an
Integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_extlibs.rb')
0 files changed, 0 insertions, 0 deletions