svn commit: samba r13224 - branches/SAMBA_3_0/source/modules trunk/source/modules

idra at samba.org idra at samba.org
Sun Jan 29 18:43:53 GMT 2006


Author: idra
Date: 2006-01-29 18:43:52 +0000 (Sun, 29 Jan 2006)
New Revision: 13224

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13224

Log:

better to cast the return too


Modified:
   branches/SAMBA_3_0/source/modules/vfs_recycle.c
   trunk/source/modules/vfs_recycle.c


Changeset:
Modified: branches/SAMBA_3_0/source/modules/vfs_recycle.c
===================================================================
--- branches/SAMBA_3_0/source/modules/vfs_recycle.c	2006-01-29 18:36:33 UTC (rev 13223)
+++ branches/SAMBA_3_0/source/modules/vfs_recycle.c	2006-01-29 18:43:52 UTC (rev 13224)
@@ -178,7 +178,7 @@
 	}
 
 	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)

Modified: trunk/source/modules/vfs_recycle.c
===================================================================
--- trunk/source/modules/vfs_recycle.c	2006-01-29 18:36:33 UTC (rev 13223)
+++ trunk/source/modules/vfs_recycle.c	2006-01-29 18:43:52 UTC (rev 13224)
@@ -178,7 +178,7 @@
 	}
 
 	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)



More information about the samba-cvs mailing list