summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-03 16:52:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-03 16:52:56 +0000
commit63ead8c4f9169609275e329d7b29628358029d42 (patch)
tree66abb90b4df5cce9d0f6ee1e27882f0460532fa7
parentd20efda86bf8cba3ade2b3735ca4cc8c9884f08d (diff)
downloadruby-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--ChangeLog4
-rw-r--r--file.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d967cefe..48b6d5fe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/file.c b/file.c
index 688a9b748..127924e47 100644
--- a/file.c
+++ b/file.c
@@ -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