From: Volker Lendecke Date: Thu, 23 Apr 2009 16:05:51 +0000 (+0200) Subject: Fix a type-punned warning X-Git-Tag: tdb-1.1.5~881 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a716606c2745f4b1d3adf220707a8d5dbd86acbb;p=thirdparty%2Fsamba.git Fix a type-punned warning --- diff --git a/libgpo/gpo_ini.c b/libgpo/gpo_ini.c index 674c741bbac..7df56a81b00 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;