diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 08a090c2a6c..3f03bfc7c5d 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1629,7 +1629,7 @@ PHP_FUNCTION(stream_isatty) { zval *zsrc; php_stream *stream; - zend_long fileno; + php_socket_t fileno; ZEND_PARSE_PARAMETERS_START(1, 1) Z_PARAM_RESOURCE(zsrc)