summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-28 20:33:02 +0000
committerSascha Schumann <sas@php.net>1999-12-28 20:33:02 +0000
commit32ef59b290899e229556c159036280b80186260c (patch)
tree0c5a402a317cd6f61fbb273f15a4ce435186ec99
parent09d2e3d15992f0c67dc089a27b35016f2aa93044 (diff)
downloadphp-git-32ef59b290899e229556c159036280b80186260c.tar.gz
Fix warnings
-rw-r--r--Zend/zend_alloc.c4
1 files 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,