aboutsummaryrefslogtreecommitdiff
path: root/test/03Thread/threadtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/03Thread/threadtest.cpp')
-rw-r--r--test/03Thread/threadtest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/03Thread/threadtest.cpp b/test/03Thread/threadtest.cpp
index 5d03893..08eb69d 100644
--- a/test/03Thread/threadtest.cpp
+++ b/test/03Thread/threadtest.cpp
@@ -29,9 +29,8 @@ void onDraw()
}
-int thread2Runner(void* p)
+int thread2Runner(Thread* t)
{
- Thread* t = (Thread*)p;
int i = 0;
while (true)
{