better to cast the return too
authoridra <idra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 29 Jan 2006 18:43:52 +0000 (18:43 +0000)
committeridra <idra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 29 Jan 2006 18:43:52 +0000 (18:43 +0000)
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@13224 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/modules/vfs_recycle.c

index 188c50b..7b2b151 100644 (file)
@@ -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)