cvs: ZendEngine2 / zend_mm.c

From: Date: Sun, 06 Mar 2005 15:55:42 +0000
Subject: cvs: ZendEngine2 / zend_mm.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3451@lists.php.net to get a copy of this message
sniper Sun Mar 6 10:55:42 2005 EDT Modified files: /ZendEngine2 zend_mm.c Log: Fix compile warning (bug #32047) http://cvs.php.net/diff.php/ZendEngine2/zend_mm.c?r1=1.29&r2=1.30&ty=u Index: ZendEngine2/zend_mm.c diff -u ZendEngine2/zend_mm.c:1.29 ZendEngine2/zend_mm.c:1.30 --- ZendEngine2/zend_mm.c:1.29 Thu Mar 4 04:18:05 2004 +++ ZendEngine2/zend_mm.c Sun Mar 6 10:55:41 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_mm.c,v 1.29 2004/03/04 09:18:05 stas Exp $ */ +/* $Id: zend_mm.c,v 1.30 2005/03/06 15:55:41 sniper Exp $ */ #include "zend.h" #include "zend_mm.h" @@ -319,12 +319,12 @@ 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; } }

« previous php.zend-engine.cvs (#3451) next »