1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r24632: Fix build warnings.

Guenther
(This used to be commit e9178af01d68b7cbe91157d1d196f2148eeef7ca)
This commit is contained in:
Günther Deschner 2007-08-23 09:39:14 +00:00 committed by Gerald (Jerry) Carter
parent 92ec897627
commit 7a30cb15da

View File

@ -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)) {