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.
1 parent 9435c06 commit 472a774Copy full SHA for 472a774
ext/ftp/php_ftp.c
@@ -158,15 +158,15 @@ PHP_FUNCTION(ftp_connect)
158
RETURN_THROWS();
159
}
160
161
- const zend_long timeoutmax = (zend_long)((double) PHP_TIMEOUT_ULL_MAX / 1000000.0);
+ const zend_ulong timeoutmax = (zend_ulong)((double) PHP_TIMEOUT_ULL_MAX / 1000000.0);
162
163
if (timeout_sec <= 0) {
164
zend_argument_value_error(3, "must be greater than 0");
165
166
167
168
if (timeout_sec >= timeoutmax) {
169
- zend_argument_value_error(3, "must be less than " ZEND_LONG_FMT, timeoutmax);
+ zend_argument_value_error(3, "must be less than " ZEND_ULONG_FMT, timeoutmax);
170
171
172
0 commit comments