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 /src/syntax.c | |
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)
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 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); |