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 472a774 commit 4419796Copy full SHA for 4419796
ext/ftp/php_ftp.c
@@ -158,7 +158,7 @@ PHP_FUNCTION(ftp_connect)
158
RETURN_THROWS();
159
}
160
161
- const zend_ulong timeoutmax = (zend_ulong)((double) PHP_TIMEOUT_ULL_MAX / 1000000.0);
+ const uint64_t timeoutmax = (uint64_t)((double) PHP_TIMEOUT_ULL_MAX / 1000000.0);
162
163
if (timeout_sec <= 0) {
164
zend_argument_value_error(3, "must be greater than 0");
0 commit comments