com php-src: fix number format: Zend/zend_alloc.c

From: Date: Thu, 28 Aug 2014 10:07:39 +0000
Subject: com php-src: fix number format: Zend/zend_alloc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81258@lists.php.net to get a copy of this message
Commit: 6890830ec0209f9b2d07f58bf78c3c8c1048ebac Author: Anatol Belski <ab@php.net> Thu, 28 Aug 2014 12:07:39 +0200 Parents: bf84517b6415bf6e41265d8a43550bdd0262231f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6890830ec0209f9b2d07f58bf78c3c8c1048ebac Log: fix number format Changed paths: M Zend/zend_alloc.c Diff: diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 3d87138..9467059 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -1535,9 +1535,9 @@ static void *zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_D if (heap->real_size + new_size > heap->limit) { if (heap->overflow == 0) { #if ZEND_DEBUG - zend_mm_safe_error(heap, "Allowed memory size of %ld bytes exhausted at %s:%d (tried to allocate %lu bytes)", heap->limit, __zend_filename, __zend_lineno, size); + zend_mm_safe_error(heap, "Allowed memory size of " ZEND_ULONG_FMT " bytes exhausted at %s:%d (tried to allocate %lu bytes)", heap->limit, __zend_filename, __zend_lineno, size); #else - zend_mm_safe_error(heap, "Allowed memory size of %ld bytes exhausted (tried to allocate %lu bytes)", heap->limit, size); + zend_mm_safe_error(heap, "Allowed memory size of " ZEND_ULONG_FMT " bytes exhausted (tried to allocate %lu bytes)", heap->limit, size); #endif return NULL; }

« previous php.cvs (#81258) next »