diff options
Diffstat (limited to 'src/copy.c')
-rw-r--r-- | src/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c index 5ec5a921c..a3489c399 100644 --- a/src/copy.c +++ b/src/copy.c @@ -1980,7 +1980,7 @@ chown_failure_ok (struct cp_options const *x) extern mode_t cached_umask (void) { - static mode_t mask = -1; + static mode_t mask = (mode_t) -1; if (mask == (mode_t) -1) { mask = umask (0); |