summaryrefslogtreecommitdiff
path: root/execute.c
diff options
context:
space:
mode:
authorStefan Esser2012-02-12 10:38:44 +0100
committerStefan Esser2012-02-12 10:38:44 +0100
commitbbe1aa97401389d6f7136be82275ce45bdf3fb5a (patch)
treedaf94f654ebb5a9b1d91902eb6b5a3e0b08a78cc /execute.c
parentbb16ddd901887c3bbf84fae8eab99ada82897dd4 (diff)
Fix build with clang
Diffstat (limited to '')
-rw-r--r--execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/execute.c b/execute.c
index ba54dac..bb092db 100644
--- a/execute.c
+++ b/execute.c
@@ -1087,7 +1087,7 @@ static int ih_function_exists(IH_HANDLER_PARAMS)
1087 zend_str_tolower(lcname, func_name_len); 1087 zend_str_tolower(lcname, func_name_len);
1088#else 1088#else
1089 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &lcname, &func_name_len) == FAILURE) { 1089 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &lcname, &func_name_len) == FAILURE) {
1090 return; 1090 return(0);
1091 } 1091 }
1092 1092
1093 /* Ignore leading "\" */ 1093 /* Ignore leading "\" */
@@ -1501,7 +1501,7 @@ static int ih_getrandmax(IH_HANDLER_PARAMS)
1501{ 1501{
1502#ifdef PHP_ATLEAST_5_3 1502#ifdef PHP_ATLEAST_5_3
1503 if (zend_parse_parameters_none() == FAILURE) { 1503 if (zend_parse_parameters_none() == FAILURE) {
1504 return; 1504 return(0);
1505 } 1505 }
1506#else 1506#else
1507 int argc = ZEND_NUM_ARGS(); 1507 int argc = ZEND_NUM_ARGS();