aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-05-06 23:59:43 +0200
committerGitHub <noreply@github.com>2019-05-06 23:59:43 +0200
commit5a714c53f293fbbb168e4131b81ec280280ff240 (patch)
treeda09d1dc47de85bea9afa60c5e482ebf1f7e4f93 /src/nvim/message.c
parentd83a7dc68732414c013bdf7458b16b95885c6ebd (diff)
parent91547a80b63cf392236657cc9c5be093d142be3f (diff)
downloadrneovim-5a714c53f293fbbb168e4131b81ec280280ff240.tar.gz
rneovim-5a714c53f293fbbb168e4131b81ec280280ff240.tar.bz2
rneovim-5a714c53f293fbbb168e4131b81ec280280ff240.zip
Merge #9977 from justinmk/pvs
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 28855402f4..4c5f357451 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -1880,7 +1880,7 @@ static void msg_puts_display(const char_u *str, int maxlen, int attr,
}
// Concat pieces with the same highlight
ga_concat_len(&msg_ext_last_chunk, (char *)str,
- strnlen((char *)str, maxlen));
+ strnlen((char *)str, maxlen)); // -V781
return;
}