mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
Add missing signal stream cast
This commit is contained in:
parent
578dda8450
commit
f04e8740d8
3
php_uv.c
3
php_uv.c
@ -2154,6 +2154,9 @@ static inline uv_stream_t* php_uv_get_current_stream(php_uv_t *uv)
|
|||||||
case IS_UV_POLL:
|
case IS_UV_POLL:
|
||||||
stream = (uv_stream_t*)&uv->uv.poll;
|
stream = (uv_stream_t*)&uv->uv.poll;
|
||||||
break;
|
break;
|
||||||
|
case IS_UV_SIGNAL:
|
||||||
|
stream = (uv_stream_t*)&uv->uv.signal;
|
||||||
|
break;
|
||||||
default: {
|
default: {
|
||||||
TSRMLS_FETCH();
|
TSRMLS_FETCH();
|
||||||
php_error_docref(NULL, E_ERROR, "unexpected type found");
|
php_error_docref(NULL, E_ERROR, "unexpected type found");
|
||||||
|
Loading…
Reference in New Issue
Block a user