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

patch 7.4.1339

Problem:    Warnings when building the GUI with MingW. (Cesar Romani)
Solution:   Add type cats. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2016-02-16 20:12:02 +01:00
parent 0c2c96e47c
commit 418f81b5fa
6 changed files with 68 additions and 57 deletions

View File

@@ -741,7 +741,8 @@ display_errors(void)
gui.starting ? (char_u *)_("Message") :
#endif
(char_u *)_("Error"),
p, (char_u *)_("&Ok"), 1, NULL, FALSE);
(char_u *)p, (char_u *)_("&Ok"),
1, NULL, FALSE);
break;
}
ga_clear(&error_ga);
@@ -2951,7 +2952,7 @@ get_logfont(
if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
{
int len;
enc_to_acp(name, (int)strlen((char *)name), &acpname, &len);
enc_to_acp(name, (int)STRLEN(name), &acpname, &len);
name = acpname;
}
#endif