From: Volker Lendecke Date: Thu, 23 Apr 2009 12:14:37 +0000 (+0200) Subject: Fix a type-punned warning X-Git-Tag: tdb-1.1.5~919^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7208577f2a3f612dc851b3d9010f34ae4cc65b4;p=thirdparty%2Fsamba.git Fix a type-punned warning --- diff --git a/source3/lib/util_reg_api.c b/source3/lib/util_reg_api.c index 9313193f10e..56ecc5472d4 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;