Commit: patch 9.1.1711: Missing type cast in clipboard.c

0 views
Skip to first unread message

Christian Brabandt

unread,
Aug 29, 2025, 12:30:16 PM (9 days ago) Aug 29
to vim...@googlegroups.com
patch 9.1.1711: Missing type cast in clipboard.c

Commit: https://github.com/vim/vim/commit/8843cb2b3b21780b00077cc9aefea0d42859186f
Author: Foxe Chen <chen...@gmail.com>
Date: Fri Aug 29 18:20:23 2025 +0200

patch 9.1.1711: Missing type cast in clipboard.c

Problem: Missing type cast in clipboard.c
(Yegappan Lakshmanan, after v9.1.1704)
Solution: Add back the type cast (Foxe Chen)

closes: #18148

Signed-off-by: Foxe Chen <chen...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/clipboard.c b/src/clipboard.c
index df7db00df..4b2e6874a 100644
--- a/src/clipboard.c
+++ b/src/clipboard.c
@@ -2410,7 +2410,7 @@ poll_data:
{
if (ga_grow(&buf, 8192) == FAIL)
break;
- start = buf.ga_data + buf.ga_len;
+ start = (char_u *)buf.ga_data + buf.ga_len;
}
}

diff --git a/src/version.c b/src/version.c
index 1a6c7c9cb..e0543a06a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1711,
/**/
1710,
/**/
Reply all
Reply to author
Forward
0 new messages