svn commit: samba r16292 - in trunk/source/modules: .

jra at samba.org jra at samba.org
Fri Jun 16 14:27:06 GMT 2006


Author: jra
Date: 2006-06-16 14:27:05 +0000 (Fri, 16 Jun 2006)
New Revision: 16292

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

Log:
Fix format values on 64-bit box.
Jeremy.

Modified:
   trunk/source/modules/vfs_default.c


Changeset:
Modified: trunk/source/modules/vfs_default.c
===================================================================
--- trunk/source/modules/vfs_default.c	2006-06-16 14:16:55 UTC (rev 16291)
+++ trunk/source/modules/vfs_default.c	2006-06-16 14:27:05 UTC (rev 16292)
@@ -1313,11 +1313,11 @@
 
 NTSTATUS vfs_default_init(void)
 {
-	int needed = SMB_VFS_OP_LAST + 1; /* convert from index to count */
+	unsigned int needed = SMB_VFS_OP_LAST + 1; /* convert from index to count */
 
 	if (ARRAY_SIZE(vfs_default_ops) != needed) {
-		DEBUG(0, ("%s: %d ops registered, but %d ops are required\n",
-			DEFAULT_VFS_MODULE_NAME, ARRAY_SIZE(vfs_default_ops), needed));
+		DEBUG(0, ("%s: %u ops registered, but %u ops are required\n",
+			DEFAULT_VFS_MODULE_NAME, (unsigned int)ARRAY_SIZE(vfs_default_ops), needed));
 		smb_panic("operation(s) missing from default VFS module");
 	}
 



More information about the samba-cvs mailing list