diff options
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1785,7 +1785,7 @@ lchmod_internal(path, mode) const char *path; void *mode; { - if (lchmod(path, (int)mode) < 0) + if (lchmod(path, (int)(VALUE)mode) < 0) rb_sys_fail(path); } |