aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-15 10:35:25 +0100
committerGitHub <noreply@github.com>2022-11-15 10:35:25 +0100
commitc6c265a86ce86e99fdb6d4375219b56dc293c832 (patch)
tree33497a1fd8a57b497562f3343e0d1a99727467c7 /src/nvim/os
parent9d2a6cd11e092de838939ce993e8d18f5c9584b7 (diff)
parent2755510f7800ff675a5fbe2cfaa59459ff3ab6b2 (diff)
downloadrneovim-c6c265a86ce86e99fdb6d4375219b56dc293c832.tar.gz
rneovim-c6c265a86ce86e99fdb6d4375219b56dc293c832.tar.bz2
rneovim-c6c265a86ce86e99fdb6d4375219b56dc293c832.zip
Merge pull request #21031 from dundargoc/fix/windows
ci(windows): treat compiler warnings as errors
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,