From 5464eefa13b68de98d0860741243b9565154ef1f Mon Sep 17 00:00:00 2001 From: Eric Norum Date: Sun, 15 Jan 2006 18:51:30 +0000 Subject: Keep compiler happy by making some casts explicit. (PR859) --- cpukit/posix/macros/rtems/posix/cond.inl | 2 +- 1 file changed, 1 insertion(+), 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 1aef557d70..2fa4ebb2a1 100644 --- a/cpukit/posix/macros/rtems/posix/cond.inl +++ b/cpukit/posix/macros/rtems/posix/cond.inl @@ -67,7 +67,7 @@ * Do an "auto-create" here. \ */ \ \ - _status = pthread_cond_init( _id, 0 ); \ + _status = pthread_cond_init( (pthread_cond_t *)_id, 0 ); \ if ( _status ) { \ *_location = OBJECTS_ERROR; \ return (POSIX_Condition_variables_Control *) 0; \ -- cgit v1.2.3