diff options
author | rpj <rpj> | 2011-03-04 08:03:46 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-03-04 08:03:46 +0000 |
commit | e1de8e3c33257b4e7d6b98767a67414efc31b6c7 (patch) | |
tree | 1942d5037d1cf5077c62f2dce89cf60cd9f96399 /tests/priority2.c | |
parent | e470da85f7b9426eea03d66086c2822bf29e9b05 (diff) |
Casting fixups
Diffstat (limited to 'tests/priority2.c')
-rw-r--r-- | tests/priority2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/priority2.c b/tests/priority2.c index a5575ab..b435203 100644 --- a/tests/priority2.c +++ b/tests/priority2.c @@ -95,7 +95,7 @@ void * func(void * arg) assert(policy == SCHED_OTHER); result = pthread_barrier_wait(&endBarrier); assert(result == 0 || result == PTHREAD_BARRIER_SERIAL_THREAD); - return (void *) param.sched_priority; + return (void *) (size_t)param.sched_priority; } |