ruby-changes:19124
From: naruse <ko1@a...>
Date: Thu, 24 Mar 2011 10:26:24 +0900 (JST)
Subject: [ruby-changes:19124] Ruby:r31163 (trunk): * ext/io/console/console.c (console_set_winsize):
naruse 2011-03-24 10:25:19 +0900 (Thu, 24 Mar 2011) New Revision: 31163 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31163 Log: * ext/io/console/console.c (console_set_winsize): surpress warning: shorten-64-to-32. Modified files: trunk/ChangeLog trunk/ext/io/console/console.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31162) +++ ChangeLog (revision 31163) @@ -1,3 +1,8 @@ +Thu Mar 24 10:04:35 2011 NARUSE, Yui <naruse@r...> + + * ext/io/console/console.c (console_set_winsize): + surpress warning: shorten-64-to-32. + Thu Mar 24 09:56:19 2011 NARUSE, Yui <naruse@r...> * ext/openssl/ossl_ocsp.c (ossl_ocspreq_verify): flags is VALUE, Index: ext/io/console/console.c =================================================================== --- ext/io/console/console.c (revision 31162) +++ ext/io/console/console.c (revision 31163) @@ -414,7 +414,7 @@ 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/