Changeset 5464eefa in rtems


Ignore:
Timestamp:
Jan 15, 2006, 6:51:30 PM (14 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
22b3bed
Parents:
2eb7d07e
Message:

Keep compiler happy by making some casts explicit. (PR859)

Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2eb7d07e r5464eefa  
     12006-01-15      Eric Norum <norume@aps.anl.gov>
     2
     3    * /posix/inline/rtems/posix/cond.inl, /posix/inline/rtems/posix/mutex.inl,
     4    /posix/macros/rtems/posix/cond.inl /posix/macros/rtems/posix/mutex.inl:
     5    Keep compiler happy by making some casts explicit.
     6
    172006-01-13      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • cpukit/posix/inline/rtems/posix/cond.inl

    r2eb7d07e r5464eefa  
    7373     */
    7474
    75     status = pthread_cond_init( id, 0 );
     75    status = pthread_cond_init( (pthread_cond_t *)id, 0 );
    7676    if ( status ) {
    7777      *location = OBJECTS_ERROR;
  • cpukit/posix/inline/rtems/posix/mutex.inl

    r2eb7d07e r5464eefa  
    6666       */ \
    6767    \
    68       _status = pthread_mutex_init( _id, 0 ); \
     68      _status = pthread_mutex_init( (pthread_mutex_t *)_id, 0 ); \
    6969      if ( _status ) { \
    7070        *_location = OBJECTS_ERROR;  \
  • cpukit/posix/macros/rtems/posix/cond.inl

    r2eb7d07e r5464eefa  
    6868       */ \
    6969    \
    70       _status = pthread_cond_init( _id, 0 ); \
     70      _status = pthread_cond_init( (pthread_cond_t *)_id, 0 ); \
    7171      if ( _status ) { \
    7272        *_location = OBJECTS_ERROR;  \
  • cpukit/posix/macros/rtems/posix/mutex.inl

    r2eb7d07e r5464eefa  
    6060       */ \
    6161    \
    62       _status = pthread_mutex_init( _id, 0 ); \
     62      _status = pthread_mutex_init( (pthread_mutex_t *)_id, 0 ); \
    6363      if ( _status ) { \
    6464        *_location = OBJECTS_ERROR;  \
Note: See TracChangeset for help on using the changeset viewer.