]> granicus.if.org Git - php/commitdiff
ret is still int
authorJani Taskinen <jani@php.net>
Wed, 10 Oct 2007 12:51:06 +0000 (12:51 +0000)
committerJani Taskinen <jani@php.net>
Wed, 10 Oct 2007 12:51:06 +0000 (12:51 +0000)
ext/standard/streamsfuncs.c

index a3e89f0ea8013790a92a384e73b28b1e6d25b53c..749f327208aeeff1630336a1eb58732c3c234492 100644 (file)
@@ -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;