diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-03 16:52:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-03 16:52:56 +0000 |
commit | 63ead8c4f9169609275e329d7b29628358029d42 (patch) | |
tree | 66abb90b4df5cce9d0f6ee1e27882f0460532fa7 | |
parent | d20efda86bf8cba3ade2b3735ca4cc8c9884f08d (diff) | |
download | ruby-63ead8c4f9169609275e329d7b29628358029d42.tar.gz ruby-63ead8c4f9169609275e329d7b29628358029d42.tar.xz ruby-63ead8c4f9169609275e329d7b29628358029d42.zip |
* file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | file.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sat Jan 4 01:33:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> + + * file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning. + Fri Jan 3 22:26:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> * process.c (rb_proc_times): need to initialize first. @@ -1041,7 +1041,7 @@ rb_file_s_lchmod(argc, argv) rb_scan_args(argc, argv, "1*", &vmode, &rest); mode = NUM2INT(vmode); - n = apply2files(lchmod_internal, rest, mode); + n = apply2files(lchmod_internal, rest, (void *)(long)mode); return LONG2FIX(n); } #else |