summaryrefslogtreecommitdiff
path: root/ext/curl/share.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 19:24:55 +0200
committerAnatol Belski <ab@php.net>2014-08-25 19:24:55 +0200
commitc3e3c98ec666812daaaca896cf5ef758a8a6df14 (patch)
treed82a76de5c8d117d1cf2dcca19bb30a283621870 /ext/curl/share.c
parent0cf2dbdf58645b52cb6582b1b2571c5cd9e9e6b3 (diff)
downloadphp-git-c3e3c98ec666812daaaca896cf5ef758a8a6df14.tar.gz
master renames phase 1
Diffstat (limited to 'ext/curl/share.c')
-rw-r--r--ext/curl/share.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/curl/share.c b/ext/curl/share.c
index a0d5b006d0..254ab2d2d6 100644
--- a/ext/curl/share.c
+++ b/ext/curl/share.c
@@ -66,7 +66,7 @@ PHP_FUNCTION(curl_share_close)
}
/* }}} */
-static int _php_curl_share_setopt(php_curlsh *sh, php_int_t option, zval *zvalue, zval *return_value TSRMLS_DC) /* {{{ */
+static int _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_value TSRMLS_DC) /* {{{ */
{
CURLSHcode error = CURLSHE_OK;
@@ -74,7 +74,7 @@ static int _php_curl_share_setopt(php_curlsh *sh, php_int_t option, zval *zvalue
case CURLSHOPT_SHARE:
case CURLSHOPT_UNSHARE:
convert_to_int_ex(zvalue);
- error = curl_share_setopt(sh->share, option, Z_IVAL_P(zvalue));
+ error = curl_share_setopt(sh->share, option, Z_LVAL_P(zvalue));
break;
default:
@@ -96,10 +96,10 @@ static int _php_curl_share_setopt(php_curlsh *sh, php_int_t option, zval *zvalue
PHP_FUNCTION(curl_share_setopt)
{
zval *zid, *zvalue;
- php_int_t options;
+ zend_long options;
php_curlsh *sh;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "riz", &zid, &options, &zvalue) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &zid, &options, &zvalue) == FAILURE) {
return;
}