diff options
| author | Stefan Esser | 2012-02-12 10:38:44 +0100 |
|---|---|---|
| committer | Stefan Esser | 2012-02-12 10:38:44 +0100 |
| commit | bbe1aa97401389d6f7136be82275ce45bdf3fb5a (patch) | |
| tree | daf94f654ebb5a9b1d91902eb6b5a3e0b08a78cc /execute.c | |
| parent | bb16ddd901887c3bbf84fae8eab99ada82897dd4 (diff) | |
Fix build with clang
Diffstat (limited to 'execute.c')
| -rw-r--r-- | execute.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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(); |
