aboutsummaryrefslogtreecommitdiffstats
path: root/complex.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-14 04:02:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-14 04:02:45 +0000
commit1b63495df2751f2accdf365dcfee7652d8aef656 (patch)
tree9b839913b42997fc210f720b2c4a26feacc6389a /complex.c
parent35bb09953b8d0ed6ea7765d326f43e79f5c6c063 (diff)
downloadruby-1b63495df2751f2accdf365dcfee7652d8aef656.tar.gz
rational.c: cast to int
* rational.c (f_kind_of_p): rb_obj_is_kind_of returns Qtrue or Qfalse always, and is safe to cast down to int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
0 files changed, 0 insertions, 0 deletions