]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.532 v7.3.532
authorBram Moolenaar <Bram@vim.org>
Fri, 1 Jun 2012 11:18:53 +0000 (13:18 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 1 Jun 2012 11:18:53 +0000 (13:18 +0200)
Problem:    Compiler warning from Clang.
Solution:   Use a different way to point inside a string. (Dominique Pelle)

src/syntax.c
src/version.c

index b5bffc31ad53e021644db00435988d49e9472480..b2b610277e93ee83d9397d2741c8b000a04c7777 100644 (file)
@@ -9476,7 +9476,7 @@ highlight_list_two(cnt, attr)
     int            cnt;
     int            attr;
 {
-    msg_puts_attr((char_u *)("N \bI \b!  \b" + cnt / 11), attr);
+    msg_puts_attr((char_u *)&("N \bI \b!  \b"[cnt / 11]), attr);
     msg_clr_eos();
     out_flush();
     ui_delay(cnt == 99 ? 40L : (long)cnt * 50L, FALSE);
index ee34eb4cb2f468fec6ea16d70dfd2fcbbca66578..68f5803de7f3d4342e183a70b9a5911febe717aa 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    532,
 /**/
     531,
 /**/