From 5287d3e7e5d3c091f17c4828c1a6d907e23db362 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 7 Apr 2006 01:16:55 +0000 Subject: 2006-04-06 Joel Sherrill * posix/inline/rtems/posix/mutex.inl, posix/inline/rtems/posix/timer.inl, posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/mutex.inl, posix/macros/rtems/posix/timer.inl: Fix warnings. --- cpukit/posix/macros/rtems/posix/cond.inl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/posix/macros/rtems/posix/cond.inl') diff --git a/cpukit/posix/macros/rtems/posix/cond.inl b/cpukit/posix/macros/rtems/posix/cond.inl index 2b2f6f8641..bb694976ab 100644 --- a/cpukit/posix/macros/rtems/posix/cond.inl +++ b/cpukit/posix/macros/rtems/posix/cond.inl @@ -81,10 +81,11 @@ * then this will have to move to a .c file. Until then, we will use this. */ static inline POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( - Objects_Id *id, + pthread_cond_t *cond, Objects_Locations *location ) { + Objects_Id *id = (Objects_Id *)cond; ___POSIX_Condition_variables_Get_support( id, location ); return (POSIX_Condition_variables_Control *) -- cgit v1.2.3