diff options
Diffstat (limited to 'tests/priority1.c')
-rw-r--r-- | tests/priority1.c | 4 |
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; |