[ruby-cvs:62093] nobu:r54930 (trunk): random.c: use rb_check_to_int

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 6 15:52:38 JST 2016


nobu	2016-05-06 15:52:37 +0900 (Fri, 06 May 2016)

  New Revision: 54930

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54930

  Log:
    random.c: use rb_check_to_int
    
    * random.c (rand_range, rand_random): use rb_check_to_int instead
      of rb_check_to_integer with the same conversion method.

  Modified files:
    trunk/random.c


More information about the ruby-cvs mailing list