summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-05 19:47:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-05 19:47:16 +0000
commit786330c0d1f0d42296b12b479778261446782508 (patch)
tree16a13fd890903d8dbc8565d6534f68c13b2e4d80 /testsuites
parent2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-786330c0d1f0d42296b12b479778261446782508.tar.bz2
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp30/task1.c: Cast pointer to id as "void *" rather than task Id.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog4
-rw-r--r--testsuites/sptests/sp30/task1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 5973ddb13e..fa424f90f6 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,5 +1,9 @@
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * sp30/task1.c: Cast pointer to id as "void *" rather than task Id.
+
+2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c,
sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than
hard-coded hex numbers for bad object Ids.
diff --git a/testsuites/sptests/sp30/task1.c b/testsuites/sptests/sp30/task1.c
index cb395cecd1..54eeb144be 100644
--- a/testsuites/sptests/sp30/task1.c
+++ b/testsuites/sptests/sp30/task1.c
@@ -36,7 +36,7 @@ rtems_task Task_1_through_3(
Timer_id[ argument ],
(task_number( tid ) - 1) * 5 * TICKS_PER_SECOND,
Resume_task,
- (void *) tid
+ (void *) &tid
);
directive_failed( status, "rtems_timer_server_fire_after failed" );