0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.4.481

Problem:    Compiler warning on MS-Windows.
Solution:   Add type casts. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2014-10-16 20:35:36 +02:00
parent 799d6abf3e
commit 861d80a671
2 changed files with 5 additions and 2 deletions

View File

@@ -1644,10 +1644,11 @@ mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
char_u *to_free = NULL;
int maxlen;
acp_to_enc(printer_name, STRLEN(printer_name), &to_free, &maxlen);
acp_to_enc(printer_name, (int)STRLEN(printer_name), &to_free,
&maxlen);
if (to_free != NULL)
printer_name = to_free;
acp_to_enc(port_name, STRLEN(port_name), &to_free, &maxlen);
acp_to_enc(port_name, (int)STRLEN(port_name), &to_free, &maxlen);
if (to_free != NULL)
port_name = to_free;
}

View File

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