1
0
forked from aniani/vim

patch 7.4.2156

Problem:    Compiler warning.
Solution:   Add type cast. (Ken Takata, Mike Williams)
This commit is contained in:
Bram Moolenaar
2016-08-04 22:00:15 +02:00
parent 9d5b876d45
commit c90f2aedd0
2 changed files with 3 additions and 1 deletions

View File

@@ -577,7 +577,7 @@ null_libintl_ngettext(
const char *msgid_plural, const char *msgid_plural,
unsigned long n) unsigned long n)
{ {
return n == 1 ? msgid : msgid_plural; return (char *)(n == 1 ? msgid : msgid_plural);
} }
/*ARGSUSED*/ /*ARGSUSED*/

View File

@@ -763,6 +763,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 */
/**/
2156,
/**/ /**/
2155, 2155,
/**/ /**/