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
This commit is contained in:
shatty
2002-09-28 22:40:36 +00:00
parent 379c42b927
commit 1dabea80a1
+3 -3
View File
@@ -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;