summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_accelerator_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/zend_accelerator_debug.c')
-rw-r--r--ext/opcache/zend_accelerator_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_accelerator_debug.c b/ext/opcache/zend_accelerator_debug.c
index d0198dccb3..dd3193a100 100644
--- a/ext/opcache/zend_accelerator_debug.c
+++ b/ext/opcache/zend_accelerator_debug.c
@@ -57,7 +57,7 @@ void zend_accel_error(int type, const char *format, ...)
}
#ifdef ZTS
- fprintf(fLog, "%s (%lu): ", time_string, (unsigned long)tsrm_thread_id());
+ fprintf(fLog, "%s (" ZEND_UINT_FMT "): ", time_string, (zend_uint_t)tsrm_thread_id());
#else
fprintf(fLog, "%s (%d): ", time_string, getpid());
#endif