From: Pierre Joye Date: Thu, 15 May 2014 07:38:26 +0000 (+0200) Subject: fix build X-Git-Tag: POST_PHPNG_MERGE~372 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a3ee297853aaf4fa17d0259fb8d0768bc143d02;p=php fix build --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 31cb41adfd..3d203eb227 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -1694,7 +1694,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt) /* VS2012 strftime() returns number of characters, not bytes. See VC++11 bug id 766205. */ if (real_len > 0) { - real_len = strlen(buf); + real_len = buf->len; } #endif