Mercurial > vim
changeset 6295:15e88e3750e3 v7.4.481
updated for version 7.4.481
Problem: Compiler warning on MS-Windows.
Solution: Add type casts. (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 16 Oct 2014 20:35:36 +0200 |
parents | 67d6321314df |
children | 575e8caa46a2 |
files | src/os_mswin.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }