We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1302b9f + a885372 commit 473ce44Copy full SHA for 473ce44
ext/curl/interface.c
@@ -1701,7 +1701,7 @@ static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue
1701
lval = zval_get_long(zvalue);
1702
if (lval == 1) {
1703
php_error_docref(NULL, E_NOTICE, "CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead");
1704
- error = curl_easy_setopt(ch->cp, option, 2);
+ error = curl_easy_setopt(ch->cp, option, 2L);
1705
break;
1706
}
1707
ZEND_FALLTHROUGH;
@@ -2207,7 +2207,7 @@ static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue
2207
2208
case CURLOPT_FOLLOWLOCATION:
2209
lval = zend_is_true(zvalue);
2210
- error = curl_easy_setopt(ch->cp, option, lval);
+ error = curl_easy_setopt(ch->cp, option, (long) lval);
2211
2212
2213
case CURLOPT_POSTFIELDS:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments