1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/fiddle
kazu 4f180097d3 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-25 14:18:13 +00:00
..
lib
closure.c * ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value. 2014-01-29 23:27:14 +00:00
closure.h
conversions.c
conversions.h
depend
extconf.rb
fiddle.c use NUM2SIZET instead of NUM2INT 2014-02-25 14:18:13 +00:00
fiddle.h
function.c
function.h
handle.c
pointer.c