From: Dmitry Stogov Date: Mon, 18 Feb 2013 09:19:24 +0000 (+0400) Subject: Use proper format specifier X-Git-Tag: php-5.5.0beta1~42^2~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40107aa6dac533695d1784f66f79683caaf6d3c8;p=php Use proper format specifier --- diff --git a/zend_accelerator_debug.c b/zend_accelerator_debug.c index 8b2bd6241c..1234c0fc93 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: