summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/macros
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/macros')
-rw-r--r--cpukit/posix/macros/rtems/posix/cond.inl3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/macros/rtems/posix/cond.inl b/cpukit/posix/macros/rtems/posix/cond.inl
index 2fa4ebb2a1..0de7c9479d 100644
--- a/cpukit/posix/macros/rtems/posix/cond.inl
+++ b/cpukit/posix/macros/rtems/posix/cond.inl
@@ -53,8 +53,9 @@
* PTHREAD_COND_INITIALIZER without adding overhead.
*/
-#define ___POSIX_Condition_variables_Get_support( _id, _location ) \
+#define ___POSIX_Condition_variables_Get_support( _cond, _location ) \
do { \
+ Objects_Id *id = (Objects_Id *)_cond; \
int _status; \
\
if ( !_id ) { \