From f04e8740d86861fd0274a98b5a032e1bae858b6a Mon Sep 17 00:00:00 2001 From: Daniel Lowrey Date: Thu, 30 Jul 2015 23:09:35 -0400 Subject: [PATCH] Add missing signal stream cast --- php_uv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php_uv.c b/php_uv.c index a590179..77a75ab 100644 --- a/php_uv.c +++ b/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");