From 8ae999c38b7df297beb2c79783a3e8dfa0aec122 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 9 Dec 2013 15:28:55 -0600 Subject: pthread.c: Use UINT32_MAX rather than constant value --- cpukit/posix/src/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix') diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 55a38a435d..5988a5e772 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -138,7 +138,7 @@ void _POSIX_Threads_Sporadic_budget_callout( * This will prevent the thread from consuming its entire "budget" * while at low priority. */ - the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */ + the_thread->cpu_time_budget = UINT32_MAX; new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority); the_thread->real_priority = new_priority; -- cgit v1.2.3