svn commit: samba r24632 - in branches: SAMBA_3_2/source/registry SAMBA_3_2_0/source/registry

gd at samba.org gd at samba.org
Thu Aug 23 09:39:15 GMT 2007


Author: gd
Date: 2007-08-23 09:39:14 +0000 (Thu, 23 Aug 2007)
New Revision: 24632

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

Log:
Fix build warnings.

Guenther

Modified:
   branches/SAMBA_3_2/source/registry/reg_smbconf.c
   branches/SAMBA_3_2_0/source/registry/reg_smbconf.c


Changeset:
Modified: branches/SAMBA_3_2/source/registry/reg_smbconf.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_smbconf.c	2007-08-23 02:10:17 UTC (rev 24631)
+++ branches/SAMBA_3_2/source/registry/reg_smbconf.c	2007-08-23 09:39:14 UTC (rev 24632)
@@ -121,7 +121,7 @@
 			len = value->v.sz.len;
 			DEBUG(10, ("theval->size: %d, value->v.sz.len: %d, "
 				   "value->v.sz.str: '%s'\n",
-				   theval->size, value->v.sz.len,
+				   theval->size, (int)value->v.sz.len,
 				   value->v.sz.str));
 			if (valstr[len - 1] != '\0') {
 				DEBUG(10, ("string is not '\\0'-terminated. "
@@ -162,7 +162,7 @@
 
 			DEBUG(10, ("NEW: value->type: %d, value->v.sz.len: %d, "
 				   "value->v.sz.str: '%s'\n", value->type,
-				   value->v.sz.len, value->v.sz.str));
+				   (int)value->v.sz.len, value->v.sz.str));
 
 			err = registry_push_value(mem_ctx, value, &value_data);
 			if (!W_ERROR_IS_OK(err)) {

Modified: branches/SAMBA_3_2_0/source/registry/reg_smbconf.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_smbconf.c	2007-08-23 02:10:17 UTC (rev 24631)
+++ branches/SAMBA_3_2_0/source/registry/reg_smbconf.c	2007-08-23 09:39:14 UTC (rev 24632)
@@ -121,7 +121,7 @@
 			len = value->v.sz.len;
 			DEBUG(10, ("theval->size: %d, value->v.sz.len: %d, "
 				   "value->v.sz.str: '%s'\n",
-				   theval->size, value->v.sz.len,
+				   theval->size, (int)value->v.sz.len,
 				   value->v.sz.str));
 			if (valstr[len - 1] != '\0') {
 				DEBUG(10, ("string is not '\\0'-terminated. "
@@ -162,7 +162,7 @@
 
 			DEBUG(10, ("NEW: value->type: %d, value->v.sz.len: %d, "
 				   "value->v.sz.str: '%s'\n", value->type,
-				   value->v.sz.len, value->v.sz.str));
+				   (int)value->v.sz.len, value->v.sz.str));
 
 			err = registry_push_value(mem_ctx, value, &value_data);
 			if (!W_ERROR_IS_OK(err)) {



More information about the samba-cvs mailing list