From: Nikita Popov Date: Tue, 16 Jun 2020 08:57:29 +0000 (+0200) Subject: Fix printf type X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b822afb0cdbc60c29ef5b9bcb0793d66ee3d40d;p=php Fix printf type --- diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index cb6a1e7ce3..286ad6644c 100644 --- a/ext/opcache/jit/zend_jit.c +++ b/ext/opcache/jit/zend_jit.c @@ -3834,7 +3834,7 @@ ZEND_EXT_API int zend_jit_startup(void *buf, size_t size, zend_bool reattached) ZEND_EXT_API void zend_jit_shutdown(void) { if (JIT_G(debug) & ZEND_JIT_DEBUG_SIZE) { - fprintf(stderr, "\nJIT memory usage: %d\n", (char*)*dasm_ptr - (char*)dasm_buf); + fprintf(stderr, "\nJIT memory usage: %td\n", (char*)*dasm_ptr - (char*)dasm_buf); } #ifdef HAVE_OPROFILE