diff options
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 05f7ef325e..88e43556ce 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -101,7 +101,7 @@ typedef uint32_t rtems_task_priority; * want to ensure that a task does not executes during * certain operations such as a system mode change. */ -#define RTEMS_MAXIMUM_PRIORITY PRIORITY_MAXIMUM +#define RTEMS_MAXIMUM_PRIORITY ((rtems_task_priority) PRIORITY_MAXIMUM) /** * The following constant is passed to rtems_task_set_priority when the |