mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
Merge pull request #3 from rdlowrey/patch-1
Add missing signal stream cast
This commit is contained in:
commit
f8db087b79
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:
|
||||
stream = (uv_stream_t*)&uv->uv.poll;
|
||||
break;
|
||||
case IS_UV_SIGNAL:
|
||||
stream = (uv_stream_t*)&uv->uv.signal;
|
||||
break;
|
||||
default: {
|
||||
TSRMLS_FETCH();
|
||||
php_error_docref(NULL, E_ERROR, "unexpected type found");
|
||||
|
Loading…
Reference in New Issue
Block a user