Permalink
Browse files

patch 7.4.2156

Problem:    Compiler warning.
Solution:   Add type cast. (Ken Takata, Mike Williams)
  • Loading branch information...
1 parent 9d5b876 commit c90f2aedd0a5dc2cc75bc9b5f475f8a3e3fe36b1 @brammool brammool committed Aug 4, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/os_win32.c
  2. +2 −0 src/version.c
View
@@ -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*/
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2156,
+/**/
2155,
/**/
2154,

0 comments on commit c90f2ae

Please sign in to comment.