summaryrefslogtreecommitdiff
path: root/tests/context1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/context1.c')
-rw-r--r--tests/context1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/context1.c b/tests/context1.c
index 405f9da..fe36695 100644
--- a/tests/context1.c
+++ b/tests/context1.c
@@ -106,7 +106,7 @@ main()
assert(pthread_create(&t, NULL, func, NULL) == 0);
- hThread = t->threadH;
+ hThread = ((ptw32_thread_t *)t.p)->threadH;
Sleep(500);