1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* file.c (rb_file_s_chmod): get rid of gcc-3 -O3 warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-12-29 18:14:22 +00:00
parent 6189cefb40
commit f0371138ee
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,8 @@ Sun Dec 29 23:45:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* range.c (range_each_func): ditto.
* file.c (rb_file_s_chmod): ditto.
Sun Dec 29 15:30:37 2002 Minero Aoki <aamine@loveruby.net>
* lib/fileutils.rb (fu_parseargs): should not inherit ftools.rb's

2
file.c
View file

@ -990,7 +990,7 @@ rb_file_s_chmod(argc, argv)
rb_scan_args(argc, argv, "1*", &vmode, &rest);
mode = NUM2INT(vmode);
n = apply2files(chmod_internal, rest, mode);
n = apply2files(chmod_internal, rest, (void *)mode);
return LONG2FIX(n);
}