r13224: better to cast the return too
authorSimo Sorce <idra@samba.org>
Sun, 29 Jan 2006 18:43:52 +0000 (18:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:06:19 +0000 (11:06 -0500)
(This used to be commit c068df483f44a23ad813acd10d583be863128382)

source3/modules/vfs_recycle.c

index 188c50be3e54e93b205c3c5943f5474c00c7f47f..7b2b15171e441d3913bde6218a40ef2524fe88c2 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)