summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp13
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/sp13
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/sp13')
-rw-r--r--testsuites/sptests/sp13/task1.c6
-rw-r--r--testsuites/sptests/sp13/task2.c4
-rw-r--r--testsuites/sptests/sp13/task3.c6
3 files changed, 8 insertions, 8 deletions
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(