# HG changeset patch # User Bram Moolenaar # Date 1338549533 -7200 # Node ID 9755d151c7492a5f1d0e77a2d3c9e414f20f3b4e # Parent 1c6b099ead89dacbb976019fb79695e378f69606 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 --- 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 --- 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,