]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1711: Missing type cast in clipboard.c v9.1.1711
authorFoxe Chen <chen.foxe@gmail.com>
Fri, 29 Aug 2025 16:20:23 +0000 (18:20 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 29 Aug 2025 16:20:23 +0000 (18:20 +0200)
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.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/clipboard.c
src/version.c

index df7db00df2b89e1079ee6d4e3ed8095948cc27b2..4b2e6874a94a759cee067d0a7829e3ea7cafbcdc 100644 (file)
@@ -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;
        }
     }
 
index 1a6c7c9cbed7b1bfdccc246b5687cc9aac38437a..e0543a06a01bdbbd0ff856be94f8824ef7c1caed 100644 (file)
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1711,
 /**/
     1710,
 /**/