Changeset b95e303f in rtems


Ignore:
Timestamp:
11/02/99 17:14:40 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8a5f2ca
Parents:
4dc89814
Message:

Removed warnings.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/semaphore.c

    r4dc89814 rb95e303f  
    252252  va_list                    arg;
    253253  mode_t                     mode;
    254   unsigned int               value;
     254  unsigned int               value = 0;
    255255  int                        status;
    256256  Objects_Id                 the_semaphore_id;
     
    619619  Objects_Name_to_id_errors  status;
    620620
    621   status = _Objects_Name_to_id( &_POSIX_Semaphore_Information, name, 0, id );
     621  status = _Objects_Name_to_id( &_POSIX_Semaphore_Information, (char *)name, 0, id );
    622622
    623623  if ( status == OBJECTS_SUCCESSFUL ) {
  • cpukit/posix/src/semaphore.c

    r4dc89814 rb95e303f  
    252252  va_list                    arg;
    253253  mode_t                     mode;
    254   unsigned int               value;
     254  unsigned int               value = 0;
    255255  int                        status;
    256256  Objects_Id                 the_semaphore_id;
     
    619619  Objects_Name_to_id_errors  status;
    620620
    621   status = _Objects_Name_to_id( &_POSIX_Semaphore_Information, name, 0, id );
     621  status = _Objects_Name_to_id( &_POSIX_Semaphore_Information, (char *)name, 0, id );
    622622
    623623  if ( status == OBJECTS_SUCCESSFUL ) {
Note: See TracChangeset for help on using the changeset viewer.