From 7a30cb15da15532cea02bab0cdf927a13d785607 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 23 Aug 2007 09:39:14 +0000 Subject: r24632: Fix build warnings. Guenther (This used to be commit e9178af01d68b7cbe91157d1d196f2148eeef7ca) --- source3/registry/reg_smbconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/registry') 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)) { -- cgit