com php-src: fix format: Zend/zend_exceptions.c

From: Date: Thu, 28 Aug 2014 15:03:40 +0000
Subject: com php-src: fix format: Zend/zend_exceptions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81264@lists.php.net to get a copy of this message
Commit: 7f6d2b124b24b23d37280fb1511de9f5a27d3f1a Author: Anatol Belski <ab@php.net> Thu, 28 Aug 2014 15:41:03 +0200 Parents: d3bfbc079f9f981f6ff9daba4bb8644445acd6e4 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f6d2b124b24b23d37280fb1511de9f5a27d3f1a Log: fix format Changed paths: M Zend/zend_exceptions.c Diff: diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 50089bf..c5193ce 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -547,7 +547,7 @@ static void _build_trace_string(zval *frame, zend_ulong index, zend_string **str line = 0; } s_tmp = emalloc(Z_STRLEN_P(file) + MAX_LENGTH_OF_LONG + 4 + 1); - len = sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_P(file), line); + len = sprintf(s_tmp, "%s(" ZEND_LONG_FMT "): ", Z_STRVAL_P(file), line); TRACE_APPEND_STRL(s_tmp, len); efree(s_tmp); }

« previous php.cvs (#81264) next »