summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index dfd40af8d..0dfd7d609 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -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;
}