diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-01 13:18:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-01 13:18:53 +0200 |
commit | 112f318551e342f19b6af18d1661f65138b41ba8 (patch) | |
tree | 8559ebab29d7304f53986886d04051a0e55039bb | |
parent | ae084bb97c5233ce9a319e42f3c886e99e87f8f7 (diff) | |
download | vim-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.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
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, |