1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Fix a type-punned warning

This commit is contained in:
Volker Lendecke
2009-04-23 14:14:37 +02:00
parent 546d16500d
commit d7208577f2

View File

@ -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;