summaryrefslogtreecommitdiff
path: root/tests/priority2.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-05 07:21:12 +0000
committerrpj <rpj>2011-03-05 07:21:12 +0000
commit85dfeaf6133e1b74eefed26cf76c3f8631c7dd1d (patch)
tree92e0f60e66f36f1ea1ca9cec4617d7f187698ecf /tests/priority2.c
parent275d03d3af64e4f5e1769584214f6fccc303456e (diff)
Rework pthread_join result arg casting
Diffstat (limited to 'tests/priority2.c')
-rw-r--r--tests/priority2.c2
1 files changed, 1 insertions, 1 deletions
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;