Changeset dd72009 in rtems


Ignore:
Timestamp:
May 28, 2000, 5:49:21 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
d102375e
Parents:
1d89b75c
Message:

Added casts to avoid warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/sptests/sp28/init.c

    r1d89b75c rdd72009  
    3838        while (nRunning != 3)
    3939                rtems_task_wake_after (0);
    40         sc = rtems_task_variable_add (RTEMS_SELF, &taskvar, NULL);
     40        sc = rtems_task_variable_add (RTEMS_SELF, (void **)&taskvar, NULL);
    4141        if (sc != RTEMS_SUCCESSFUL) {
    4242                printf ("Can't add task variable: %s\n", rtems_status_text (sc));
     
    5454                }
    5555        }
    56         sc = rtems_task_variable_delete (RTEMS_SELF, &taskvar);
     56        sc = rtems_task_variable_delete (RTEMS_SELF, (void **)&taskvar);
    5757        nDeleted++;
    5858        if (sc != RTEMS_SUCCESSFUL) {
Note: See TracChangeset for help on using the changeset viewer.