diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |