summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-01-29 18:43:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:19 -0500
commit99fc191d5142ea2d6bcab9beb504d5e90b61742f (patch)
treea97e11f12c48fcb8ca09c3a8eebfe2bc503a3417
parent6c58244def94a9e32d13a828040a2415ad9f7c57 (diff)
downloadsamba-99fc191d5142ea2d6bcab9beb504d5e90b61742f.tar.gz
samba-99fc191d5142ea2d6bcab9beb504d5e90b61742f.tar.bz2
samba-99fc191d5142ea2d6bcab9beb504d5e90b61742f.zip
r13224: better to cast the return too
(This used to be commit c068df483f44a23ad813acd10d583be863128382)
-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 188c50be3e..7b2b15171e 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)