diff options
author | Antony Dovgal <tony2001@php.net> | 2007-03-14 11:58:05 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-03-14 11:58:05 +0000 |
commit | e5b5f00949718f15c62750a771549e3dcc88a92d (patch) | |
tree | 67a3b74eda004e23941e2d4ca866965b210dd588 /Zend/zend_alloc.h | |
parent | b9bc7c55d4231559465a774745ebdb9a361fdba6 (diff) | |
download | php-git-e5b5f00949718f15c62750a771549e3dcc88a92d.tar.gz |
MFH: fix #40800 (cannot disable memory_limit with -1)
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r-- | Zend/zend_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index c77ab47028..93555fbf7a 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -124,7 +124,7 @@ inline static void * __zend_realloc(void *p, size_t len) #define safe_estrdup(ptr) ((ptr)?(estrdup(ptr)):STR_EMPTY_ALLOC()) #define safe_estrndup(ptr, len) ((ptr)?(estrndup((ptr), (len))):STR_EMPTY_ALLOC()) -ZEND_API int zend_set_memory_limit(unsigned int memory_limit); +ZEND_API int zend_set_memory_limit(size_t memory_limit); ZEND_API void start_memory_manager(TSRMLS_D); ZEND_API void shutdown_memory_manager(int silent, int full_shutdown TSRMLS_DC); |