]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
util/charset: Remove unnecessary cast
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Sun, 12 Nov 2023 23:21:20 +0000 (12:21 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 Nov 2023 05:18:36 +0000 (05:18 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/charset/convert_string.c

index 9fa721b6d12722595e5959e7fdbd1492757f562f..859b002ecbcf97ca4021331c3fbc24e88c504fd7 100644 (file)
@@ -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) {