summaryrefslogtreecommitdiff
path: root/tests/priority1.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/priority1.c
parent275d03d3af64e4f5e1769584214f6fccc303456e (diff)
Rework pthread_join result arg casting
Diffstat (limited to 'tests/priority1.c')
-rw-r--r--tests/priority1.c4
1 files changed, 2 insertions, 2 deletions
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;