From: Joseph Sutton Date: Sun, 12 Nov 2023 23:21:20 +0000 (+1300) Subject: util/charset: Remove unnecessary cast X-Git-Tag: talloc-2.4.2~667 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f0809f1eef116454584a84b270a1fd7feeebe64;p=thirdparty%2Fsamba.git util/charset: Remove unnecessary cast Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/lib/util/charset/convert_string.c b/lib/util/charset/convert_string.c index 9fa721b6d12..859b002ecbc 100644 --- a/lib/util/charset/convert_string.c +++ b/lib/util/charset/convert_string.c @@ -354,7 +354,7 @@ bool convert_string_talloc_handle(TALLOC_CTX *ctx, struct smb_iconv_handle *ic, const char *inbuf = NULL; char *outbuf = NULL, *ob = NULL; smb_iconv_t descriptor; - void **dest = (void **)dst; + void **dest = dst; *dest = NULL; if (converted_size != NULL) {