Add missing signal stream cast

This commit is contained in:
Daniel Lowrey 2015-07-30 23:09:35 -04:00
parent 578dda8450
commit f04e8740d8

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