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