From 32ef59b290899e229556c159036280b80186260c Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 28 Dec 1999 20:33:02 +0000 Subject: [PATCH] Fix warnings --- Zend/zend_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 174305c48e..5d5b28d421 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -412,8 +412,8 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) } fprintf(stderr, "Memory cache statistics\n" "-----------------------\n\n" - "[zval, %2d]\t\t%d / %d (%.2f%%)\n" - "[hash, %2d]\t\t%d / %d (%.2f%%)\n", + "[zval, %2ld]\t\t%d / %d (%.2f%%)\n" + "[hash, %2ld]\t\t%d / %d (%.2f%%)\n", sizeof(zval), AG(fast_cache_stats)[ZVAL_CACHE_LIST][1], AG(fast_cache_stats)[ZVAL_CACHE_LIST][0]+AG(fast_cache_stats)[ZVAL_CACHE_LIST][1], ((double) AG(fast_cache_stats)[ZVAL_CACHE_LIST][1] / (AG(fast_cache_stats)[ZVAL_CACHE_LIST][0]+AG(fast_cache_stats)[ZVAL_CACHE_LIST][1]))*100, -- 2.50.1