summaryrefslogtreecommitdiff
path: root/source3/lib/util_reg_api.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-03-01 13:58:46 -0800
committerTim Prouty <tprouty@samba.org>2009-03-01 16:40:17 -0800
commit9b0df441e1bd836c433e11582650fa0171791485 (patch)
treed801f31cb05dcbfa88964c4697973b1c6680e5ee /source3/lib/util_reg_api.c
parent664268a2877dc49a84eb140e837e01f08979c471 (diff)
downloadsamba-9b0df441e1bd836c433e11582650fa0171791485.tar.gz
samba-9b0df441e1bd836c433e11582650fa0171791485.tar.bz2
samba-9b0df441e1bd836c433e11582650fa0171791485.zip
s3: Fix incompatible type warnings
Diffstat (limited to 'source3/lib/util_reg_api.c')
-rw-r--r--source3/lib/util_reg_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_reg_api.c b/source3/lib/util_reg_api.c
index 8f28e9c282..9313193f10 100644
--- a/source3/lib/util_reg_api.c
+++ b/source3/lib/util_reg_api.c
@@ -92,7 +92,7 @@ WERROR registry_pull_value(TALLOC_CTX *mem_ctx,
}
if (!convert_string_talloc(value, CH_UTF16LE, CH_UNIX, tmp,
- length+2, &value->v.sz.str,
+ length+2, (void **)&value->v.sz.str,
&value->v.sz.len, False)) {
SAFE_FREE(tmp);
err = WERR_INVALID_PARAM;