Skip to content

Commit 4419796

Browse files
committed
same type as the constant then..
1 parent 472a774 commit 4419796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ftp/php_ftp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ PHP_FUNCTION(ftp_connect)
158158
RETURN_THROWS();
159159
}
160160

161-
const zend_ulong timeoutmax = (zend_ulong)((double) PHP_TIMEOUT_ULL_MAX / 1000000.0);
161+
const uint64_t timeoutmax = (uint64_t)((double) PHP_TIMEOUT_ULL_MAX / 1000000.0);
162162

163163
if (timeout_sec <= 0) {
164164
zend_argument_value_error(3, "must be greater than 0");

0 commit comments

Comments
 (0)