From fb0c35105f96a9fc401a00667f899560793ba417 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 22 Apr 2018 20:02:28 +0300 Subject: spellfile: Silence PVS/V547: expression may be true on other systems --- src/nvim/spellfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index afedde96ac..0eca7bbdf8 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -1644,7 +1644,7 @@ spell_read_tree ( if (len < 0) { return SP_TRUNCERROR; } - if ((size_t)len >= SIZE_MAX / sizeof(int)) { + if ((size_t)len >= SIZE_MAX / sizeof(int)) { // -V547 // Invalid length, multiply with sizeof(int) would overflow. return SP_FORMERROR; } -- cgit