diff src/event/ngx_event_posted.h @ 9311:0ad3dde83947

Events: fixed warnings with -Wpedantic in epoll notify. Added casts through uintptr_t to suppress "ISO C forbids assignment between function pointer and 'void *'" warnings as seen with -Wpedantic in ngx_epoll_notify() and ngx_epoll_notify_handler(). Additionally, it resolves "assignment type mismatch" warnings as seen with Sun Studio on Linux, "pointer to function... "=" pointer to void" and "pointer to void "=" pointer to function...".
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 07 Aug 2024 03:56:31 +0300
parents f1720934c45b
children
line wrap: on
line diff