From d4d36c65fa14dabeb029b3e6157d85672ac176ad Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 31 Jan 2017 22:26:53 +0300 Subject: Fixes of various issues introduced by refactoring. --- src/nxt_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_thread.c') diff --git a/src/nxt_thread.c b/src/nxt_thread.c index 24136bde..78c6f50c 100644 --- a/src/nxt_thread.c +++ b/src/nxt_thread.c @@ -193,7 +193,7 @@ nxt_thread_exit(nxt_thread_t *thr) * and link->task is already set to engine->task. * The link should be freed by the exit handler. */ - link->work.obj = thr->handle; + link->work.obj = (void *) (uintptr_t) thr->handle; nxt_event_engine_post(link->engine, &link->work); } -- cgit