From 420fabcd4ffeaf79082a6e43db91e1d363f88f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FDundar=3D20G=3DC3=3DB6c=3F=3D?= Date: Fri, 28 Jan 2022 15:28:04 +0000 Subject: patch 8.2.4241: some type casts are redundant Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643) --- src/clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clipboard.c') diff --git a/src/clipboard.c b/src/clipboard.c index e2ebd114b9..9eace3de6d 100644 --- a/src/clipboard.c +++ b/src/clipboard.c @@ -1488,7 +1488,7 @@ clip_x11_convert_selection_cb( // create NUL terminated string which XmbTextListToTextProperty wants mch_memmove(string_nt, string, (size_t)*length); string_nt[*length] = NUL; - conv_result = XmbTextListToTextProperty(X_DISPLAY, (char **)&string_nt, + conv_result = XmbTextListToTextProperty(X_DISPLAY, &string_nt, 1, XCompoundTextStyle, &text_prop); if (conv_result != Success) { -- cgit v1.2.3