From 85dfeaf6133e1b74eefed26cf76c3f8631c7dd1d Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 5 Mar 2011 07:21:12 +0000 Subject: Rework pthread_join result arg casting --- tests/priority1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/priority1.c') diff --git a/tests/priority1.c b/tests/priority1.c index 66c5a4c..40316cc 100644 --- a/tests/priority1.c +++ b/tests/priority1.c @@ -164,8 +164,8 @@ main() assert(pthread_join(t, &result) == 0); - assert(param.sched_priority == (int) result); - printf("%10d %10d %10d\n", param.sched_priority, (int) result, prio); + assert(param.sched_priority == (int)(size_t) result); + printf("%10d %10d %10d\n", param.sched_priority, (int)(size_t) result, prio); } return 0; -- cgit v1.2.3