summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-23 14:14:37 +0200
committerVolker Lendecke <vl@samba.org>2009-04-23 14:35:50 +0200
commitd7208577f2a3f612dc851b3d9010f34ae4cc65b4 (patch)
tree512b611eea6e02a964e0b62efe1105c0326f00a4 /source3
parent546d16500d0dce4d451efb7793065b323bf8edbd (diff)
downloadsamba-d7208577f2a3f612dc851b3d9010f34ae4cc65b4.tar.gz
samba-d7208577f2a3f612dc851b3d9010f34ae4cc65b4.tar.bz2
samba-d7208577f2a3f612dc851b3d9010f34ae4cc65b4.zip
Fix a type-punned warning
Diffstat (limited to 'source3')
-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 9313193f10..56ecc5472d 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, (void **)&value->v.sz.str,
+ length+2, (void *)&value->v.sz.str,
&value->v.sz.len, False)) {
SAFE_FREE(tmp);
err = WERR_INVALID_PARAM;