From: Antony Dovgal Date: Thu, 27 Jul 2006 07:39:30 +0000 (+0000) Subject: fix build with Intel C Compiler X-Git-Tag: php-5.2.0RC2~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbf2ab4d45fc846fb2dbfcdfd782f50d6433fb5f;p=php fix build with Intel C Compiler --- diff --git a/ext/mbstring/oniguruma/regerror.c b/ext/mbstring/oniguruma/regerror.c index 811ca2b012..ad73b76c3c 100644 --- a/ext/mbstring/oniguruma/regerror.c +++ b/ext/mbstring/oniguruma/regerror.c @@ -276,7 +276,7 @@ onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist) UChar bs[6]; va_list args; - va_init_list(args, (const char* )fmt); + va_init_list(args, fmt); n = vsnprintf((char* )buf, bufsize, (const char* )fmt, args); va_end(args);