]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.481 v7.4.481
authorBram Moolenaar <Bram@vim.org>
Thu, 16 Oct 2014 18:35:36 +0000 (20:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 16 Oct 2014 18:35:36 +0000 (20:35 +0200)
Problem:    Compiler warning on MS-Windows.
Solution:   Add type casts. (Ken Takata)

src/os_mswin.c
src/version.c

index dfd40af8de89fa61679c72e02ee7d98ed004a0a3..0dfd7d6091fa38e7ac05b022616f806508d5a4d2 100644 (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;
        }
index 01fdef61c7a7b931c44bf8ba390817f78665aa25..7923a4d9366b71ae4b72f2bedf6c57a5db9a3b51 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    481,
 /**/
     480,
 /**/