From: Bram Moolenaar Date: Thu, 4 Aug 2016 20:00:15 +0000 (+0200) Subject: patch 7.4.2156 X-Git-Tag: v7.4.2156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c90f2aedd0a5dc2cc75bc9b5f475f8a3e3fe36b1;p=vim patch 7.4.2156 Problem: Compiler warning. Solution: Add type cast. (Ken Takata, Mike Williams) --- diff --git a/src/os_win32.c b/src/os_win32.c index 9fe43218d..d502634e3 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -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*/ diff --git a/src/version.c b/src/version.c index a4392eb1e..17febd056 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2156, /**/ 2155, /**/