From 1dabea80a1e4ec200aa8d4c7fe6db0d42c51e8de Mon Sep 17 00:00:00 2001 From: shatty Date: Sat, 28 Sep 2002 22:40:36 +0000 Subject: [PATCH] fixed warnings by changing the return type of the thread_func's to int32. "int" seems like a better return type choice, but it is int32 in both the Be headers and the OBOS headers, at least for now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1254 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/apps/tests/thread_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kernel/apps/tests/thread_test.c b/src/kernel/apps/tests/thread_test.c index d760f0e75e..d543e7ed6f 100644 --- a/src/kernel/apps/tests/thread_test.c +++ b/src/kernel/apps/tests/thread_test.c @@ -17,7 +17,7 @@ struct the_test { sem_id the_lock; }; -static int counter_thread(void *data) +static int32 counter_thread(void *data) { struct the_test *tt = (struct the_test*)data; @@ -32,7 +32,7 @@ static int counter_thread(void *data) } -static int priority_test(void *data) +static int32 priority_test(void *data) { int i; @@ -44,7 +44,7 @@ static int priority_test(void *data) } -static int communication_test(void *data) +static int32 communication_test(void *data) { int times = (int)data; int i, code;