mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.1311
Problem: Compiler warnings on Cygwin. Solution: Add type casts. Add windows include files. (Ken Takata)
This commit is contained in:
@@ -4108,7 +4108,7 @@ encname2codepage(name)
|
|||||||
p += 6;
|
p += 6;
|
||||||
|
|
||||||
if (p[0] == 'c' && p[1] == 'p')
|
if (p[0] == 'c' && p[1] == 'p')
|
||||||
cp = atoi(p + 2);
|
cp = atoi((char *)p + 2);
|
||||||
else if ((idx = enc_canon_search(p)) >= 0)
|
else if ((idx = enc_canon_search(p)) >= 0)
|
||||||
cp = enc_canon_table[idx].codepage;
|
cp = enc_canon_table[idx].codepage;
|
||||||
else
|
else
|
||||||
|
6
src/ui.c
6
src/ui.c
@@ -18,6 +18,12 @@
|
|||||||
|
|
||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
|
|
||||||
|
#ifdef FEAT_CYGWIN_WIN32_CLIPBOARD
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# include <windows.h>
|
||||||
|
# include "winclip.pro"
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_write(s, len)
|
ui_write(s, len)
|
||||||
char_u *s;
|
char_u *s;
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1311,
|
||||||
/**/
|
/**/
|
||||||
1310,
|
1310,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user