summaryrefslogtreecommitdiff
path: root/ext/io/console/console.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-24 01:25:19 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-24 01:25:19 +0000
commit3dbb97708b3295787a665d97b543862ee049e6c9 (patch)
tree1a4cdab37da9a7232752bc04e92e120cac33b3f8 /ext/io/console/console.c
parentfea562417fa8589365aeb9b994ff36d952305f1a (diff)
* ext/io/console/console.c (console_set_winsize):
surpress warning: shorten-64-to-32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/console.c')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index f7f95e933f..9ccb452085 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -414,7 +414,7 @@ console_set_winsize(VALUE io, VALUE size)
GetOpenFile(io, fptr);
size = rb_Array(size);
- rb_scan_args(RARRAY_LEN(size), RARRAY_PTR(size), "22",
+ rb_scan_args((int)RARRAY_LEN(size), RARRAY_PTR(size), "22",
&row, &col, &xpixel, &ypixel);
#if defined TIOCSWINSZ
fd = GetWriteFD(fptr);