From: Joseph Sutton Date: Wed, 9 Aug 2023 04:52:46 +0000 (+1200) Subject: libgpo: Remove unnecessary cast X-Git-Tag: tevent-0.16.0~639 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c86038095e3aa18ef965cd6b7922fd85f758523e;p=thirdparty%2Fsamba.git libgpo: Remove unnecessary cast Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/libgpo/gpo_ini.c b/libgpo/gpo_ini.c index c1b1698b184..66f743e52a0 100644 --- a/libgpo/gpo_ini.c +++ b/libgpo/gpo_ini.c @@ -119,7 +119,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)) + &data_out, &converted_size)) { status = NT_STATUS_INVALID_BUFFER_SIZE; goto out;