14 lines
279 B
Diff
14 lines
279 B
Diff
Index: file.c
|
|
===================================================================
|
|
--- file.c.orig
|
|
+++ file.c
|
|
@@ -1692,7 +1692,7 @@
|
|
const char *path;
|
|
void *mode;
|
|
{
|
|
- if (chmod(path, (int)mode) < 0)
|
|
+ if (chmod(path, (intptr_t)mode) < 0)
|
|
rb_sys_fail(path);
|
|
}
|
|
|