PVS/V1028: cast operands, not the result #10496

This commit is contained in:
Ihor Antonov 2019-07-15 20:27:25 -04:00 committed by Justin M. Keyes
parent b06f29318d
commit ec81cfb406

View File

@ -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