Fixed bug #70718 stream_select() when OpenSSL extension is loaded on PHP Win64

This commit is contained in:
Anatol Belski 2015-10-26 15:54:29 +01:00
parent 36311ee4fd
commit 83bfefeccb

View File

@ -2298,7 +2298,7 @@ static int php_openssl_sockop_cast(php_stream *stream, int castas, void **ret TS
: stream->chunk_size);
}
*(int *)ret = sslsock->s.socket;
*(php_socket_t *)ret = sslsock->s.socket;
}
return SUCCESS;