From: Bram Moolenaar Date: Fri, 1 Jun 2012 11:18:53 +0000 (+0200) Subject: updated for version 7.3.532 X-Git-Tag: v7.3.532 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=112f318551e342f19b6af18d1661f65138b41ba8;p=thirdparty%2Fvim.git updated for version 7.3.532 Problem: Compiler warning from Clang. Solution: Use a different way to point inside a string. (Dominique Pelle) --- diff --git a/src/syntax.c b/src/syntax.c index b5bffc31ad..b2b610277e 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -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); diff --git a/src/version.c b/src/version.c index ee34eb4cb2..68f5803de7 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 532, /**/ 531, /**/