summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-23 09:39:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:12 -0500
commit7a30cb15da15532cea02bab0cdf927a13d785607 (patch)
tree959350cdadf820032821f24739e604a6be89f53d /source3
parent92ec897627203cabf11885be24e255776848cff4 (diff)
downloadsamba-7a30cb15da15532cea02bab0cdf927a13d785607.tar.gz
samba-7a30cb15da15532cea02bab0cdf927a13d785607.tar.bz2
samba-7a30cb15da15532cea02bab0cdf927a13d785607.zip
r24632: Fix build warnings.
Guenther (This used to be commit e9178af01d68b7cbe91157d1d196f2148eeef7ca)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_smbconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_smbconf.c b/source3/registry/reg_smbconf.c
index a809f6b643..ccf78d4350 100644
--- a/source3/registry/reg_smbconf.c
+++ b/source3/registry/reg_smbconf.c
@@ -121,7 +121,7 @@ static BOOL smbconf_store_values( const char *key, REGVAL_CTR *val )
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 @@ static BOOL smbconf_store_values( const char *key, REGVAL_CTR *val )
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)) {