summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-01 13:18:53 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-01 13:18:53 +0200
commit112f318551e342f19b6af18d1661f65138b41ba8 (patch)
tree8559ebab29d7304f53986886d04051a0e55039bb
parentae084bb97c5233ce9a319e42f3c886e99e87f8f7 (diff)
downloadvim-git-112f318551e342f19b6af18d1661f65138b41ba8.tar.gz
updated for version 7.3.532v7.3.532
Problem: Compiler warning from Clang. Solution: Use a different way to point inside a string. (Dominique Pelle)
-rw-r--r--src/syntax.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index b5bffc31a..b2b610277 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 ee34eb4cb..68f5803de 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 532,
+/**/
531,
/**/
530,