summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-31 22:26:53 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-31 22:26:53 +0300
commitd4d36c65fa14dabeb029b3e6157d85672ac176ad (patch)
tree6b51a0acf06f69560f583d44289be492fcfca663 /src/nxt_thread.c
parent18281ee37eaa9409a6af0aeb3c1926bba36cba0f (diff)
downloadunit-d4d36c65fa14dabeb029b3e6157d85672ac176ad.tar.gz
unit-d4d36c65fa14dabeb029b3e6157d85672ac176ad.tar.bz2
Fixes of various issues introduced by refactoring.
Diffstat (limited to 'src/nxt_thread.c')
-rw-r--r--src/nxt_thread.c2
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);
}