summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-19 17:43:09 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-19 17:43:09 +0100
commit32526b3c1846025f0e655f41efd4e5428da16b6c (patch)
treee9f3ea5e0daaada049e905b5f1b38b4a45511f3d /src/os_win32.c
parentd383c92ec1d14ffd5c3802f0ffd763e91d547fa8 (diff)
downloadvim-git-32526b3c1846025f0e655f41efd4e5428da16b6c.tar.gz
patch 8.1.0779: argument for message functions is inconsistentv8.1.0779
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index e8c4916a8..3ea1fe321 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -4534,7 +4534,7 @@ dump_pipe(int options,
}
c = *p;
*p = NUL;
- msg_puts(buffer);
+ msg_puts((char *)buffer);
if (p < buffer + len)
{
*p = c;
@@ -4548,7 +4548,7 @@ dump_pipe(int options,
else
{
buffer[len] = NUL;
- msg_puts(buffer);
+ msg_puts((char *)buffer);
}
windgoto(msg_row, msg_col);
@@ -4607,7 +4607,7 @@ mch_system_piped(char *cmd, int options)
CloseHandle(g_hChildStd_IN_Wr);
CloseHandle(g_hChildStd_OUT_Rd);
CloseHandle(g_hChildStd_OUT_Wr);
- MSG_PUTS(_("\nCannot create pipes\n"));
+ msg_puts(_("\nCannot create pipes\n"));
}
si.cb = sizeof(si);