diff options
author | Volker Lendecke <vl@samba.org> | 2009-04-23 14:14:37 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-04-23 14:35:50 +0200 |
commit | d7208577f2a3f612dc851b3d9010f34ae4cc65b4 (patch) | |
tree | 512b611eea6e02a964e0b62efe1105c0326f00a4 /source3 | |
parent | 546d16500d0dce4d451efb7793065b323bf8edbd (diff) | |
download | samba-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.c | 2 |
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; |