0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.0779: argument for message functions is inconsistent

Problem:    Argument for message functions is inconsistent.
Solution:   Make first argument to msg() "char *".
This commit is contained in:
Bram Moolenaar
2019-01-19 17:43:09 +01:00
parent d383c92ec1
commit 32526b3c18
56 changed files with 679 additions and 698 deletions

View File

@@ -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);