From 1429eb1218cbcfbd34d417c73efe672f988df2fd Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Wed, 26 Aug 2020 14:49:39 -0400 Subject: [PATCH] chore: remove extra casts --- runtime/src/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/runtime.c b/runtime/src/runtime.c index c6ba30c..d00c25a 100644 --- a/runtime/src/runtime.c +++ b/runtime/src/runtime.c @@ -155,7 +155,7 @@ listener_thread_main(void *dummy) * Block indefinitely on the epoll file descriptor, waiting on up to a max number of events * TODO: Is LISTENER_THREAD_MAX_EPOLL_EVENTS actually limited to the max number of modules? */ - int descriptor_count = epoll_wait(runtime_epoll_file_descriptor, (struct epoll_event *)&epoll_events, + int descriptor_count = epoll_wait(runtime_epoll_file_descriptor, epoll_events, LISTENER_THREAD_MAX_EPOLL_EVENTS, -1); if (descriptor_count < 0) { if (errno == EINTR) continue;