Skip to content

Commit c90f2ae

Browse files
committed
patch 7.4.2156
Problem: Compiler warning. Solution: Add type cast. (Ken Takata, Mike Williams)
1 parent 9d5b876 commit c90f2ae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/os_win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ null_libintl_ngettext(
577577
const char *msgid_plural,
578578
unsigned long n)
579579
{
580-
return n == 1 ? msgid : msgid_plural;
580+
return (char *)(n == 1 ? msgid : msgid_plural);
581581
}
582582

583583
/*ARGSUSED*/

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2156,
766768
/**/
767769
2155,
768770
/**/

0 commit comments

Comments
 (0)