We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba909d7 commit 350c10dCopy full SHA for 350c10d
ext/standard/fsock.c
@@ -82,7 +82,7 @@ static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent)
82
efree(hashkey);
83
}
84
85
- zend_argument_value_error(6, "must be -1 or between 0 and " ZEND_ULONG_FMT, (PHP_TIMEOUT_ULL_MAX / 1000000.0));
+ zend_argument_value_error(6, "must be -1 or between 0 and " ZEND_ULONG_FMT, ((double) PHP_TIMEOUT_ULL_MAX / 1000000.0));
86
RETURN_THROWS();
87
} else {
88
#ifndef PHP_WIN32
0 commit comments