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

updated for version 7.4.206

Problem:    Compiler warnings on 64 bit Windows.
Solution:   Add type casts. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2014-03-19 12:37:22 +01:00
parent f0bdd2f28d
commit a0844a1170
3 changed files with 4 additions and 2 deletions

View File

@@ -3078,7 +3078,7 @@ logfont2name(LOGFONT lf)
if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
{
int len;
acp_to_enc(lf.lfFaceName, strlen(lf.lfFaceName),
acp_to_enc(lf.lfFaceName, (int)strlen(lf.lfFaceName),
(char_u **)&font_name, &len);
}
#endif

View File

@@ -2884,7 +2884,7 @@ get_logfont(
if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
{
int len;
enc_to_acp(name, strlen(name), &acpname, &len);
enc_to_acp(name, (int)strlen(name), &acpname, &len);
name = acpname;
}
#endif

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
206,
/**/
205,
/**/