forked from aniani/vim
patch 7.4.2156
Problem: Compiler warning. Solution: Add type cast. (Ken Takata, Mike Williams)
This commit is contained in:
@@ -577,7 +577,7 @@ null_libintl_ngettext(
|
||||
const char *msgid_plural,
|
||||
unsigned long n)
|
||||
{
|
||||
return n == 1 ? msgid : msgid_plural;
|
||||
return (char *)(n == 1 ? msgid : msgid_plural);
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2156,
|
||||
/**/
|
||||
2155,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user