diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 15:10:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 15:10:04 +0000 |
commit | a176b065d2e19f64c7425c2928829f5280532cce (patch) | |
tree | 9f036cf815edd2df3cd27c4d04d3ad1e3c5d3bbd /io.c | |
parent | cea3919ae61ae16e04a5ee5c5394970c3960a0af (diff) | |
download | ruby-a176b065d2e19f64c7425c2928829f5280532cce.tar.gz |
* io.c (rb_io_ctl), parse.y (LVAR_USED): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7456,7 +7456,7 @@ rb_io_ctl(VALUE io, VALUE req, VALUE arg, int io_p) rb_str_resize(arg, len+1); } RSTRING_PTR(arg)[len] = 17; /* a little sanity check here */ - narg = (long)RSTRING_PTR(arg); + narg = (long)(SIGNED_VALUE)RSTRING_PTR(arg); } } GetOpenFile(io, fptr); |