]> granicus.if.org Git - php/commitdiff
fixed Big_endian issue on s390x for stream test cases
authorSam Ding <samding@ca.ibm.com>
Tue, 23 Jan 2018 21:46:55 +0000 (16:46 -0500)
committerAnatol Belski <ab@php.net>
Sat, 27 Jan 2018 15:39:03 +0000 (16:39 +0100)
ext/standard/streamsfuncs.c

index 094f3c6b452ac452eaea9368ffb3afded91c3ed1..86c07c3ac7c0e0fa9614c16ecc77b8d3b422c2e7 100644 (file)
@@ -1627,7 +1627,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)