summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-23 18:05:51 +0200
committerVolker Lendecke <vl@samba.org>2009-04-28 05:29:26 +0200
commita716606c2745f4b1d3adf220707a8d5dbd86acbb (patch)
tree04d3773589bb12a132b4a348096293217e041f24
parentd9805878e242d0d279f340b4a1fd084c77f240b1 (diff)
downloadsamba-a716606c2745f4b1d3adf220707a8d5dbd86acbb.tar.gz
samba-a716606c2745f4b1d3adf220707a8d5dbd86acbb.tar.bz2
samba-a716606c2745f4b1d3adf220707a8d5dbd86acbb.zip
Fix a type-punned warning
-rw-r--r--libgpo/gpo_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpo/gpo_ini.c b/libgpo/gpo_ini.c
index 674c741bba..7df56a81b0 100644
--- a/libgpo/gpo_ini.c
+++ b/libgpo/gpo_ini.c
@@ -88,7 +88,7 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
}
if (!convert_string_talloc(mem_ctx, CH_UTF16LE, CH_UNIX, data_in, n,
- (void **)&data_out, &converted_size, false))
+ (void *)&data_out, &converted_size, false))
{
status = NT_STATUS_INVALID_BUFFER_SIZE;
goto out;