summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/modules/vfs_recycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index 188c50be3e5..7b2b15171e4 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -178,7 +178,7 @@ static mode_t recycle_directory_mode(vfs_handle_struct *handle)
}
DEBUG(10, ("recycle: directory_mode = %o\n", dirmode));
- return dirmode;
+ return (mode_t)dirmode;
}
static BOOL recycle_directory_exist(vfs_handle_struct *handle, const char *dname)