Commit: 40107aa6dac533695d1784f66f79683caaf6d3c8 Author: Dmitry Stogov <dmi...@zend.com> Mon, 18 Feb 2013 13:19:24 +0400 Parents: 53d4abb16c78a7c35c7df0d7e2f8c51baa01ca8f Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=40107aa6dac533695d1784f66f79683caaf6d3c8 Log: Use proper format specifier Changed paths: M zend_accelerator_debug.c Diff: diff --git a/zend_accelerator_debug.c b/zend_accelerator_debug.c index 8b2bd62..1234c0f 100644 --- a/zend_accelerator_debug.c +++ b/zend_accelerator_debug.c @@ -56,13 +56,11 @@ void zend_accel_error(int type, const char *format, ...) } } - fprintf(fLog, "%s (%d): ", time_string, #ifdef ZTS - tsrm_thread_id() + fprintf(fLog, "%s (%lu): ", time_string, (unsigned long)tsrm_thread_id()); #else - getpid() + fprintf(fLog, "%s (%d): ", time_string, getpid()); #endif - ); switch (type) { case ACCEL_LOG_FATAL: -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php