Changeset 856a44e4 in rtems


Ignore:
Timestamp:
Aug 30, 2001, 1:29:38 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
302b76d
Parents:
7ac1f89
Message:

2001-08-30 Joel Sherrill <joel@…>

  • macros/rtems/posix/mqueue.inl: Add cast so negation works.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/ChangeLog

    r7ac1f89 r856a44e4  
     12001-08-30      Joel Sherrill <joel@OARcorp.com>
     2
     3        * macros/rtems/posix/mqueue.inl: Add cast so negation works.
     4
    152001-08-16      Joel Sherrill <joel@OARcorp.com>
    26
  • c/src/exec/posix/macros/rtems/posix/mqueue.inl

    r7ac1f89 r856a44e4  
    7474/* absolute value without a library dependency */
    7575#define _POSIX_Message_queue_Priority_from_core( _priority ) \
    76   ((((_priority) >= 0) ? (_priority) : -(_priority)))
     76  ((((CORE_message_queue_Submit_types)(_priority)) >= 0) ? \
     77    (_priority) : \
     78    -((CORE_message_queue_Submit_types)(_priority)))
    7779
    7880#endif
  • cpukit/posix/ChangeLog

    r7ac1f89 r856a44e4  
     12001-08-30      Joel Sherrill <joel@OARcorp.com>
     2
     3        * macros/rtems/posix/mqueue.inl: Add cast so negation works.
     4
    152001-08-16      Joel Sherrill <joel@OARcorp.com>
    26
  • cpukit/posix/macros/rtems/posix/mqueue.inl

    r7ac1f89 r856a44e4  
    7474/* absolute value without a library dependency */
    7575#define _POSIX_Message_queue_Priority_from_core( _priority ) \
    76   ((((_priority) >= 0) ? (_priority) : -(_priority)))
     76  ((((CORE_message_queue_Submit_types)(_priority)) >= 0) ? \
     77    (_priority) : \
     78    -((CORE_message_queue_Submit_types)(_priority)))
    7779
    7880#endif
Note: See TracChangeset for help on using the changeset viewer.