mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e56b74195c
commit
2ce6988e55
2 changed files with 5 additions and 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.
|
||||
|
|
2
file.c
2
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
|
||||
|
|
Loading…
Reference in a new issue