# HG changeset patch # User Bram Moolenaar # Date 1413484536 -7200 # Node ID 15e88e3750e3b1458b0d38c2f16ed784e51a4f3b # Parent 67d6321314df0355e24d7f5c06e31531c66a4af6 updated for version 7.4.481 Problem: Compiler warning on MS-Windows. Solution: Add type casts. (Ken Takata) diff --git a/src/os_mswin.c b/src/os_mswin.c --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -1644,10 +1644,11 @@ mch_print_init(prt_settings_T *psettings 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; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 481, +/**/ 480, /**/ 479,