Merge pull request #3 from rdlowrey/patch-1

Add missing signal stream cast
This commit is contained in:
Bob Weinand 2015-07-31 13:11:05 +02:00
commit f8db087b79

View File

@ -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");