diff options
author | Eric Norum <WENorum@lbl.gov> | 2006-01-15 18:51:30 +0000 |
---|---|---|
committer | Eric Norum <WENorum@lbl.gov> | 2006-01-15 18:51:30 +0000 |
commit | 5464eefa13b68de98d0860741243b9565154ef1f (patch) | |
tree | 2776e2af225fc38b0ac59caae9df574c954b24bb | |
parent | Regenerate. (diff) | |
download | rtems-5464eefa13b68de98d0860741243b9565154ef1f.tar.bz2 |
Keep compiler happy by making some casts explicit. (PR859)
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/posix/inline/rtems/posix/cond.inl | 2 | ||||
-rw-r--r-- | cpukit/posix/inline/rtems/posix/mutex.inl | 2 | ||||
-rw-r--r-- | cpukit/posix/macros/rtems/posix/cond.inl | 2 | ||||
-rw-r--r-- | cpukit/posix/macros/rtems/posix/mutex.inl | 2 |
5 files changed, 10 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 32313a1e27..4bab8b24e8 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2006-01-15 Eric Norum <norume@aps.anl.gov> + + * /posix/inline/rtems/posix/cond.inl, /posix/inline/rtems/posix/mutex.inl, + /posix/macros/rtems/posix/cond.inl /posix/macros/rtems/posix/mutex.inl: + Keep compiler happy by making some casts explicit. + 2006-01-13 Ralf Corsepius <ralf.corsepius@rtems.org> * Makefile.am: Remove doxygen support having accidentially slipped diff --git a/cpukit/posix/inline/rtems/posix/cond.inl b/cpukit/posix/inline/rtems/posix/cond.inl index 30233ddc38..ede9ab3532 100644 --- a/cpukit/posix/inline/rtems/posix/cond.inl +++ b/cpukit/posix/inline/rtems/posix/cond.inl @@ -72,7 +72,7 @@ RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control * 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; diff --git a/cpukit/posix/inline/rtems/posix/mutex.inl b/cpukit/posix/inline/rtems/posix/mutex.inl index 15d5af0b3e..85d3dcc1f5 100644 --- a/cpukit/posix/inline/rtems/posix/mutex.inl +++ b/cpukit/posix/inline/rtems/posix/mutex.inl @@ -65,7 +65,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free ( * Do an "auto-create" here. \ */ \ \ - _status = pthread_mutex_init( _id, 0 ); \ + _status = pthread_mutex_init( (pthread_mutex_t *)_id, 0 ); \ if ( _status ) { \ *_location = OBJECTS_ERROR; \ return (POSIX_Mutex_Control *) 0; \ 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; \ diff --git a/cpukit/posix/macros/rtems/posix/mutex.inl b/cpukit/posix/macros/rtems/posix/mutex.inl index c82b287f83..a527165916 100644 --- a/cpukit/posix/macros/rtems/posix/mutex.inl +++ b/cpukit/posix/macros/rtems/posix/mutex.inl @@ -59,7 +59,7 @@ * Do an "auto-create" here. \ */ \ \ - _status = pthread_mutex_init( _id, 0 ); \ + _status = pthread_mutex_init( (pthread_mutex_t *)_id, 0 ); \ if ( _status ) { \ *_location = OBJECTS_ERROR; \ return (POSIX_Mutex_Control *) 0; \ |