]> granicus.if.org Git - php/commitdiff
fix build with Intel C Compiler
authorAntony Dovgal <tony2001@php.net>
Thu, 27 Jul 2006 07:39:30 +0000 (07:39 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 27 Jul 2006 07:39:30 +0000 (07:39 +0000)
ext/mbstring/oniguruma/regerror.c

index 811ca2b012d3cb181f7ebca8316b9049be9434ba..ad73b76c3cd5470eb1cf10c3311a238289c0de08 100644 (file)
@@ -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);