summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-03-14 11:58:05 +0000
committerAntony Dovgal <tony2001@php.net>2007-03-14 11:58:05 +0000
commite5b5f00949718f15c62750a771549e3dcc88a92d (patch)
tree67a3b74eda004e23941e2d4ca866965b210dd588 /Zend/zend_alloc.c
parentb9bc7c55d4231559465a774745ebdb9a361fdba6 (diff)
downloadphp-git-e5b5f00949718f15c62750a771549e3dcc88a92d.tar.gz
MFH: fix #40800 (cannot disable memory_limit with -1)
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 34f5b77b60..96999acc99 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -2060,7 +2060,7 @@ ZEND_API char *zend_strndup(const char *s, uint length)
}
-ZEND_API int zend_set_memory_limit(unsigned int memory_limit)
+ZEND_API int zend_set_memory_limit(size_t memory_limit)
{
TSRMLS_FETCH();