aboutsummaryrefslogtreecommitdiff
path: root/test/03Thread/threadtest.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-06 21:51:39 +0800
committerchai <chaifix@163.com>2018-08-06 21:51:39 +0800
commitc8f9cd5530bff6cdb657885a3f9bd69cfbd50231 (patch)
tree6af8c0a8f6e827f4c1fb9cc7a7583e773921b611 /test/03Thread/threadtest.cpp
parentb17dc97d5aafe741e4139a82456dc04d7cf47dde (diff)
*update
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)
{