Mercurial > vim
diff src/os_win32.c @ 15543:dd725a8ab112 v8.1.0779
patch 8.1.0779: argument for message functions is inconsistent
commit https://github.com/vim/vim/commit/32526b3c1846025f0e655f41efd4e5428da16b6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 19 17:43:09 2019 +0100
patch 8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Jan 2019 17:45:07 +0100 |
parents | ba876ced4f1f |
children | df198b298bff |
line wrap: on
line diff
--- 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);