aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2022-11-12 13:34:14 +0100
committerdundargoc <gocdundar@gmail.com>2022-11-14 20:17:04 +0100
commit2755510f7800ff675a5fbe2cfaa59459ff3ab6b2 (patch)
tree13bc54ad9b6f2c724eb188a5e44753c92652c43f /src/nvim/os
parentf8c671827710c6e9cca3bfd60c32098b2be8239a (diff)
downloadrneovim-2755510f7800ff675a5fbe2cfaa59459ff3ab6b2.tar.gz
rneovim-2755510f7800ff675a5fbe2cfaa59459ff3ab6b2.tar.bz2
rneovim-2755510f7800ff675a5fbe2cfaa59459ff3ab6b2.zip
ci(windows): treat compiler warnings as errors
Reduce the warning level from 3 to 1 and fix all warnings.
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/pty_conpty_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/pty_conpty_win.c b/src/nvim/os/pty_conpty_win.c
index f9478d951f..43c89f8865 100644
--- a/src/nvim/os/pty_conpty_win.c
+++ b/src/nvim/os/pty_conpty_win.c
@@ -67,7 +67,7 @@ conpty_t *os_conpty_init(char **in_name, char **out_name, uint16_t width, uint16
| PIPE_ACCESS_OUTBOUND | FILE_FLAG_FIRST_PIPE_INSTANCE;
sa.nLength = sizeof(sa);
- snprintf(buf, sizeof(buf), "\\\\.\\pipe\\nvim-term-in-%d-%d",
+ snprintf(buf, sizeof(buf), "\\\\.\\pipe\\nvim-term-in-%lld-%d",
os_get_pid(), count);
*in_name = xstrdup(buf);
if ((in_read = CreateNamedPipeA(*in_name,
@@ -81,7 +81,7 @@ conpty_t *os_conpty_init(char **in_name, char **out_name, uint16_t width, uint16
emsg = "create input pipe failed";
goto failed;
}
- snprintf(buf, sizeof(buf), "\\\\.\\pipe\\nvim-term-out-%d-%d",
+ snprintf(buf, sizeof(buf), "\\\\.\\pipe\\nvim-term-out-%lld-%d",
os_get_pid(), count);
*out_name = xstrdup(buf);
if ((out_write = CreateNamedPipeA(*out_name,