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/priority2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/priority2.c') diff --git a/tests/priority2.c b/tests/priority2.c index b435203..7d4648f 100644 --- a/tests/priority2.c +++ b/tests/priority2.c @@ -162,7 +162,7 @@ main() assert(GetThreadPriority(pthread_getw32threadhandle_np(t)) == validPriorities[param.sched_priority+(PTW32TEST_MAXPRIORITIES/2)]); pthread_join(t, &result); - assert(param.sched_priority == (int)result); + assert(param.sched_priority == (int)(size_t)result); } return 0; -- cgit v1.2.3