2001-08-30 Joel Sherrill <joel@OARcorp.com>

* macros/rtems/posix/mqueue.inl: Add cast so negation works.
This commit is contained in:
Joel Sherrill
2001-08-30 13:29:38 +00:00
parent 7ac1f89365
commit 856a44e4b6
4 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/posix/mqueue.inl: Add cast so negation works.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/mqueuesendsupp.c: Account for possibly blocking during the

View File

@@ -73,7 +73,9 @@
/* absolute value without a library dependency */
#define _POSIX_Message_queue_Priority_from_core( _priority ) \
((((_priority) >= 0) ? (_priority) : -(_priority)))
((((CORE_message_queue_Submit_types)(_priority)) >= 0) ? \
(_priority) : \
-((CORE_message_queue_Submit_types)(_priority)))
#endif
/* end of include file */

View File

@@ -1,3 +1,7 @@
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/posix/mqueue.inl: Add cast so negation works.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/mqueuesendsupp.c: Account for possibly blocking during the

View File

@@ -73,7 +73,9 @@
/* absolute value without a library dependency */
#define _POSIX_Message_queue_Priority_from_core( _priority ) \
((((_priority) >= 0) ? (_priority) : -(_priority)))
((((CORE_message_queue_Submit_types)(_priority)) >= 0) ? \
(_priority) : \
-((CORE_message_queue_Submit_types)(_priority)))
#endif
/* end of include file */