ruby-changes:3919
From: ko1@a...
Date: Sat, 9 Feb 2008 01:11:08 +0900 (JST)
Subject: [ruby-changes:3919] naruse - Ruby:r15409 (trunk): * file.c (lchmod_internal): fix warning cast from pointer to integer of
naruse 2008-02-09 01:10:27 +0900 (Sat, 09 Feb 2008)
New Revision: 15409
Modified files:
trunk/ChangeLog
trunk/file.c
Log:
* file.c (lchmod_internal): fix warning cast from pointer to integer of
different size.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/file.c?r1=15409&r2=15408&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15409&r2=15408&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15408)
+++ ChangeLog (revision 15409)
@@ -1,3 +1,8 @@
+Sat Feb 09 01:01:38 2008 NARUSE, Yui <naruse@r...>
+
+ * file.c (lchmod_internal): fix warning cast from pointer to integer of
+ different size.
+
Sat Feb 9 00:44:52 2008 Nobuyoshi Nakada <nobu@r...>
* lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than
Index: file.c
===================================================================
--- file.c (revision 15408)
+++ file.c (revision 15409)
@@ -1872,7 +1872,7 @@
static void
lchmod_internal(const char *path, void *mode)
{
- if (lchmod(path, (int)mode) < 0)
+ if (lchmod(path, (int)(VALUE)mode) < 0)
rb_sys_fail(path);
}
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/