From 3f0809f1eef116454584a84b270a1fd7feeebe64 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Mon, 13 Nov 2023 12:21:20 +1300 Subject: [PATCH] util/charset: Remove unnecessary cast Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- lib/util/charset/convert_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.3