mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.1157: compiler warning on MS-Windows
Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Yasuhiro Matsomoto)
This commit is contained in:
@@ -2573,7 +2573,7 @@ check_tty(mparm_T *parmp)
|
|||||||
* Note that the message is shown on a Cygwin terminal (e.g.
|
* Note that the message is shown on a Cygwin terminal (e.g.
|
||||||
* mintty) which encoding is based on $LC_ALL or etc., not the
|
* mintty) which encoding is based on $LC_ALL or etc., not the
|
||||||
* current codepage used by normal Win32 console programs. */
|
* current codepage used by normal Win32 console programs. */
|
||||||
tofree = s = enc_locale_env(NULL);
|
tofree = s = (char *)enc_locale_env(NULL);
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
s = "utf-8"; /* Use "utf-8" by default. */
|
s = "utf-8"; /* Use "utf-8" by default. */
|
||||||
(void)bind_textdomain_codeset(VIMPACKAGE, s);
|
(void)bind_textdomain_codeset(VIMPACKAGE, s);
|
||||||
|
@@ -761,6 +761,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 */
|
||||||
|
/**/
|
||||||
|
1157,
|
||||||
/**/
|
/**/
|
||||||
1156,
|
1156,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user