[ruby-cvs:52319] kazu:r45174 (trunk): use NUM2SIZET instead of NUM2INT

kazu at ruby-lang.org kazu at ruby-lang.org
Tue Feb 25 23:18:14 JST 2014


kazu	2014-02-25 23:18:13 +0900 (Tue, 25 Feb 2014)

  New Revision: 45174

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45174

  Log:
    use NUM2SIZET instead of NUM2INT
    
    * ext/dl/dl.c (rb_dl_realloc): use NUM2SIZET instead of NUM2INT.
    
    * ext/fiddle/fiddle.c (rb_fiddle_realloc): ditto.
    
    * ext/dl/dl.c (rb_dl_malloc): use NUM2SIZET instead of NUM2INT.
      Coverity Scan found this bug.
    
    * ext/fiddle/fiddle.c (rb_fiddle_malloc): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/ext/dl/dl.c
    trunk/ext/fiddle/fiddle.c


More information about the ruby-cvs mailing list