|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-06 16:55 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 11:00:01 2025 UTC |
Description: ------------ php-5.0.3/Zend/zend_mm.c: In function `zend_mm_alloc': php-5.0.3/Zend/zend_mm.c:322: warning: int format, different type arg (arg 3) php-5.0.3/Zend/zend_mm.c:327: warning: int format, different type arg (arg 3) fix (won't it be better to attach patches?): --- Zend/zend_mm.c.orig 2004-03-04 10:18:05.000000000 +0100 +++ Zend/zend_mm.c 2005-02-21 13:12:20.252314257 +0100 @@ -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; } }