diff options
author | foobar <sniper@php.net> | 2005-03-06 15:55:41 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-03-06 15:55:41 +0000 |
commit | ede98577e2bd478c694c0785d0aee87190cc5bda (patch) | |
tree | 1bc70fc72ebd882d8f7ff7a204e1f7be2524b041 | |
parent | 1d3c79a8a67803e3d16d469411f71f659b0dc621 (diff) | |
download | php-git-ede98577e2bd478c694c0785d0aee87190cc5bda.tar.gz |
Fix compile warning (bug #32047)
-rw-r--r-- | Zend/zend_mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_mm.c b/Zend/zend_mm.c index 71a24c11ea..a04c7190e6 100644 --- a/Zend/zend_mm.c +++ b/Zend/zend_mm.c @@ -319,12 +319,12 @@ zend_mm_finished_searching_for_block: if (true_size > (heap->block_size - ZEND_MM_ALIGNED_SEGMENT_SIZE - ZEND_MM_ALIGNED_HEADER_SIZE)) { /* Make sure we add a memory block which is big enough */ if (zend_mm_add_memory_block(heap, true_size + ZEND_MM_ALIGNED_SEGMENT_SIZE + ZEND_MM_ALIGNED_HEADER_SIZE)) { - zend_error(E_ERROR, "Out of memory: cannot allocate %d bytes!", true_size); + zend_error(E_ERROR, "Out of memory: cannot allocate %zd bytes!", true_size); return NULL; } } else { if (zend_mm_add_memory_block(heap, heap->block_size)) { - zend_error(E_ERROR, "Out of memory: cannot allocate %d bytes!", heap->block_size); + zend_error(E_ERROR, "Out of memory: cannot allocate %zd bytes!", heap->block_size); return NULL; } } |