aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/channel.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-02-11 10:25:24 +0100
committerGitHub <noreply@github.com>2023-02-11 10:25:24 +0100
commit7224c889e0d5d70b99ae377036baa6377c33a568 (patch)
treedcd43af5075b12db1aae2e1a087bf88599b387ff /src/nvim/channel.c
parentc8c930ea785aa393ebc819139913a9e05f0ccd45 (diff)
downloadrneovim-7224c889e0d5d70b99ae377036baa6377c33a568.tar.gz
rneovim-7224c889e0d5d70b99ae377036baa6377c33a568.tar.bz2
rneovim-7224c889e0d5d70b99ae377036baa6377c33a568.zip
build: enable MSVC level 3 warnings (#21934)
MSVC has 4 different warning levels: 1 (severe), 2 (significant), 3 (production quality) and 4 (informational). Enabling level 3 warnings mostly revealed conversion problems, similar to GCC/clang -Wconversion flag.
Diffstat (limited to 'src/nvim/channel.c')
-rw-r--r--src/nvim/channel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/channel.c b/src/nvim/channel.c
index 65bb87bc2c..7f8e1c9fd1 100644
--- a/src/nvim/channel.c
+++ b/src/nvim/channel.c
@@ -32,12 +32,14 @@
#include "nvim/msgpack_rpc/server.h"
#include "nvim/os/os_defs.h"
#include "nvim/os/shell.h"
+#include "nvim/path.h"
#include "nvim/rbuffer.h"
+
#ifdef MSWIN
+# include "nvim/os/fs.h"
# include "nvim/os/os_win_console.h"
# include "nvim/os/pty_conpty_win.h"
#endif
-#include "nvim/path.h"
static bool did_stdio = false;