diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index a3e89f0ea80..749f327208a 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -656,7 +656,8 @@ static int stream_array_from_fd_set(zval *stream_array, fd_set *fds TSRMLS_DC) zval **elem, **dest_elem; php_stream *stream; HashTable *new_hash; - php_socket_t this_fd, ret = 0; + php_socket_t this_fd; + int ret = 0; if (Z_TYPE_P(stream_array) != IS_ARRAY) { return 0;