Changeset 70f559d8 in rtems


Ignore:
Timestamp:
Feb 1, 2017, 12:00:15 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
f95fa387
Parents:
f7ba2945
git-author:
Sebastian Huber <sebastian.huber@…> (02/01/17 12:00:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/01/17 13:03:12)
Message:

rtems: Fix RTEMS_MAXIMUM_PRIORITY define

Cast the internal PRIORITY_MAXIMUM to the right type for a Classic API
task priority to avoid integer conversion warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/include/rtems/rtems/tasks.h

    rf7ba2945 r70f559d8  
    102102 *        certain operations such as a system mode change.
    103103 */
    104 #define RTEMS_MAXIMUM_PRIORITY      PRIORITY_MAXIMUM
     104#define RTEMS_MAXIMUM_PRIORITY      ((rtems_task_priority) PRIORITY_MAXIMUM)
    105105
    106106/**
Note: See TracChangeset for help on using the changeset viewer.