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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user