summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-02-06 19:14:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-02-06 19:14:35 +0000
commitd6913f245e63bda4b1dab60c29d81d23c65325be (patch)
tree3c96c70bc13903fce2a81bd5c934c1591ce30f9a /testsuites/sptests
parent2007-02-06 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-d6913f245e63bda4b1dab60c29d81d23c65325be.tar.bz2
2007-02-06 Joel Sherrill <joel@OARcorp.com>
* sp09/screen07.c, sp09/task3.c, sp13/task1.c, sp13/task2.c, sp13/task3.c: Address size_t/uint32_t typing issues in message queue tests.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/ChangeLog6
-rw-r--r--testsuites/sptests/sp09/screen07.c4
-rw-r--r--testsuites/sptests/sp09/task3.c4
-rw-r--r--testsuites/sptests/sp13/task1.c6
-rw-r--r--testsuites/sptests/sp13/task2.c4
-rw-r--r--testsuites/sptests/sp13/task3.c6
6 files changed, 18 insertions, 12 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index ac679572b2..11517107f8 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-06 Joel Sherrill <joel@OARcorp.com>
+
+ * sp09/screen07.c, sp09/task3.c, sp13/task1.c, sp13/task2.c,
+ sp13/task3.c: Address size_t/uint32_t typing issues in message queue
+ tests.
+
2006-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp33/init.c: Improve barrier test to include normal blocking with
diff --git a/testsuites/sptests/sp09/screen07.c b/testsuites/sptests/sp09/screen07.c
index 3e3cbea898..5ddc7dee87 100644
--- a/testsuites/sptests/sp09/screen07.c
+++ b/testsuites/sptests/sp09/screen07.c
@@ -6,7 +6,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -23,7 +23,7 @@
void Screen7()
{
long buffer[ 4 ];
- uint32_t size;
+ size_t size;
uint32_t count;
rtems_status_code status;
diff --git a/testsuites/sptests/sp09/task3.c b/testsuites/sptests/sp09/task3.c
index 5111a583b7..f7bebffeb5 100644
--- a/testsuites/sptests/sp09/task3.c
+++ b/testsuites/sptests/sp09/task3.c
@@ -9,7 +9,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -27,7 +27,7 @@ rtems_task Task_3(
{
rtems_status_code status;
long buffer[ 4 ];
- uint32_t size;
+ size_t size;
puts( "TA3 - rtems_message_queue_receive - Q 1 - RTEMS_WAIT FOREVER" );
status = rtems_message_queue_receive(
diff --git a/testsuites/sptests/sp13/task1.c b/testsuites/sptests/sp13/task1.c
index 52508b2e60..d73dafa001 100644
--- a/testsuites/sptests/sp13/task1.c
+++ b/testsuites/sptests/sp13/task1.c
@@ -7,7 +7,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -50,8 +50,8 @@ rtems_task Task_1(
uint32_t index;
uint32_t count;
rtems_status_code status;
- uint32_t size;
- uint32_t queue_size;
+ size_t size;
+ size_t queue_size;
unsigned char *cp;
status = rtems_message_queue_ident(
diff --git a/testsuites/sptests/sp13/task2.c b/testsuites/sptests/sp13/task2.c
index 79d705a2eb..699ef83ee6 100644
--- a/testsuites/sptests/sp13/task2.c
+++ b/testsuites/sptests/sp13/task2.c
@@ -8,7 +8,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -25,7 +25,7 @@ rtems_task Task_2(
)
{
long buffer[ 4 ];
- uint32_t size;
+ size_t size;
rtems_task_priority previous_priority;
rtems_status_code status;
diff --git a/testsuites/sptests/sp13/task3.c b/testsuites/sptests/sp13/task3.c
index 380c5c0c2b..cfa5a9c2d8 100644
--- a/testsuites/sptests/sp13/task3.c
+++ b/testsuites/sptests/sp13/task3.c
@@ -8,7 +8,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -25,8 +25,8 @@ rtems_task Task_3(
)
{
long buffer[ 4 ];
- uint32_t size;
- uint32_t count;
+ size_t size;
+ uint32_t count;
rtems_status_code status;
puts(