summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/macros/rtems/posix/mutex.inl
diff options
context:
space:
mode:
authorEric Norum <WENorum@lbl.gov>2006-01-15 18:51:30 +0000
committerEric Norum <WENorum@lbl.gov>2006-01-15 18:51:30 +0000
commit5464eefa13b68de98d0860741243b9565154ef1f (patch)
tree2776e2af225fc38b0ac59caae9df574c954b24bb /cpukit/posix/macros/rtems/posix/mutex.inl
parentRegenerate. (diff)
downloadrtems-5464eefa13b68de98d0860741243b9565154ef1f.tar.bz2
Keep compiler happy by making some casts explicit. (PR859)
Diffstat (limited to '')
-rw-r--r--cpukit/posix/macros/rtems/posix/mutex.inl2
1 files changed, 1 insertions, 1 deletions
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; \