]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1311 v7.3.1311
authorBram Moolenaar <Bram@vim.org>
Fri, 5 Jul 2013 18:09:16 +0000 (20:09 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 5 Jul 2013 18:09:16 +0000 (20:09 +0200)
Problem:    Compiler warnings on Cygwin.
Solution:   Add type casts. Add windows include files. (Ken Takata)

src/mbyte.c
src/ui.c
src/version.c

index e0b249862543e094f4c9dfce9d7c59319052d739..68c1e941dcfb81a77a48a41bdfacaeb716edf66c 100644 (file)
@@ -4108,7 +4108,7 @@ encname2codepage(name)
        p += 6;
 
     if (p[0] == 'c' && p[1] == 'p')
-       cp = atoi(p + 2);
+       cp = atoi((char *)p + 2);
     else if ((idx = enc_canon_search(p)) >= 0)
        cp = enc_canon_table[idx].codepage;
     else
index 89ab747da25042f8c650144ed18d91fb277c971a..577b74230ae47c692904057ae4b9d32ebc6f3d22 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
 
 #include "vim.h"
 
+#ifdef FEAT_CYGWIN_WIN32_CLIPBOARD
+# define WIN32_LEAN_AND_MEAN
+# include <windows.h>
+# include "winclip.pro"
+#endif
+
     void
 ui_write(s, len)
     char_u  *s;
index e63af1f7485ca68aa2ed83018100c045e9522187..98b64d1b52aa644992089c8eaeee6ce5d2e729ce 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1311,
 /**/
     1310,
 /**/