aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhor Antonov <ngortheone@users.noreply.github.com>2019-07-15 20:27:25 -0400
committerJustin M. Keyes <justinkz@gmail.com>2019-07-16 02:27:25 +0200
commitec81cfb4067df9e0629bbd64cb380b6aa00b007a (patch)
tree3d252d7a6eb1be2fe28bccd5d1aec4aa2d7e4bea
parentb06f29318df5adab76bba32b89b9af22043a39cb (diff)
downloadrneovim-ec81cfb4067df9e0629bbd64cb380b6aa00b007a.tar.gz
rneovim-ec81cfb4067df9e0629bbd64cb380b6aa00b007a.tar.bz2
rneovim-ec81cfb4067df9e0629bbd64cb380b6aa00b007a.zip
PVS/V1028: cast operands, not the result #10496
-rw-r--r--src/nvim/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 6fd22a6537..17306744ad 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -5283,7 +5283,7 @@ add_sound_suggest (
}
// Go over the list of good words that produce this soundfold word
- nrline = ml_get_buf(slang->sl_sugbuf, (linenr_T)(sfwordnr + 1), FALSE);
+ nrline = ml_get_buf(slang->sl_sugbuf, (linenr_T)sfwordnr + 1, false);
orgnr = 0;
while (*nrline != NUL) {
// The wordnr was stored in a minimal nr of bytes as an offset to the