summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-02-06 19:14:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-02-06 19:14:56 +0000
commitedffc8ed243c8ef118c5330a3f6c1a3895a68c80 (patch)
tree2549ed2db73a8597d8f0f7ec0aeb3ba6b68ff2c0 /testsuites
parent2007-02-06 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-edffc8ed243c8ef118c5330a3f6c1a3895a68c80.tar.bz2
2007-02-06 Joel Sherrill <joel@OARcorp.com>
* tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm22/task1.c: Address size_t/uint32_t typing issues in message queue tests.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/tmtests/ChangeLog6
-rw-r--r--testsuites/tmtests/tm09/task1.c6
-rw-r--r--testsuites/tmtests/tm10/task1.c10
-rw-r--r--testsuites/tmtests/tm11/task1.c6
-rw-r--r--testsuites/tmtests/tm12/task1.c4
-rw-r--r--testsuites/tmtests/tm13/task1.c6
-rw-r--r--testsuites/tmtests/tm14/task1.c4
-rw-r--r--testsuites/tmtests/tm22/task1.c8
8 files changed, 28 insertions, 22 deletions
diff --git a/testsuites/tmtests/ChangeLog b/testsuites/tmtests/ChangeLog
index f56e141037..5fd33c57c3 100644
--- a/testsuites/tmtests/ChangeLog
+++ b/testsuites/tmtests/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-06 Joel Sherrill <joel@OARcorp.com>
+
+ * tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c,
+ tm14/task1.c, tm22/task1.c: Address size_t/uint32_t typing issues in
+ message queue tests.
+
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
diff --git a/testsuites/tmtests/tm09/task1.c b/testsuites/tmtests/tm09/task1.c
index 1cf8845724..145fea3dde 100644
--- a/testsuites/tmtests/tm09/task1.c
+++ b/testsuites/tmtests/tm09/task1.c
@@ -1,6 +1,6 @@
/*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -103,9 +103,9 @@ void queue_test()
uint32_t flush_count;
uint32_t index;
uint32_t iterations;
- long buffer[4];
+ long buffer[4];
rtems_status_code status;
- uint32_t size;
+ size_t size;
send_loop_time = 0;
urgent_loop_time = 0;
diff --git a/testsuites/tmtests/tm10/task1.c b/testsuites/tmtests/tm10/task1.c
index 076154e49e..6f010d13d6 100644
--- a/testsuites/tmtests/tm10/task1.c
+++ b/testsuites/tmtests/tm10/task1.c
@@ -1,6 +1,6 @@
/*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -48,8 +48,8 @@ rtems_task Init(
void test_init()
{
- uint32_t index;
- uint32_t size;
+ uint32_t index;
+ size_t size;
rtems_task_entry task_entry;
rtems_status_code status;
rtems_task_priority priority;
@@ -117,7 +117,7 @@ rtems_task High_task(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
Timer_initialize();
(void) rtems_message_queue_receive(
@@ -133,7 +133,7 @@ rtems_task Middle_tasks(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
(void) rtems_message_queue_receive(
Queue_id,
diff --git a/testsuites/tmtests/tm11/task1.c b/testsuites/tmtests/tm11/task1.c
index 59a5a877ec..d90e4b7d25 100644
--- a/testsuites/tmtests/tm11/task1.c
+++ b/testsuites/tmtests/tm11/task1.c
@@ -1,6 +1,6 @@
/*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -114,7 +114,7 @@ rtems_task Middle_tasks(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
(void) rtems_message_queue_receive(
Queue_id,
@@ -131,7 +131,7 @@ rtems_task High_task(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
(void) rtems_message_queue_receive(
Queue_id,
diff --git a/testsuites/tmtests/tm12/task1.c b/testsuites/tmtests/tm12/task1.c
index d6b190dfd5..2ed41a8ca1 100644
--- a/testsuites/tmtests/tm12/task1.c
+++ b/testsuites/tmtests/tm12/task1.c
@@ -1,6 +1,6 @@
/*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -134,7 +134,7 @@ rtems_task Low_tasks(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
(void) rtems_message_queue_receive(
Queue_id,
diff --git a/testsuites/tmtests/tm13/task1.c b/testsuites/tmtests/tm13/task1.c
index d6e6fad8f6..7661bf3154 100644
--- a/testsuites/tmtests/tm13/task1.c
+++ b/testsuites/tmtests/tm13/task1.c
@@ -1,6 +1,6 @@
/*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -113,7 +113,7 @@ rtems_task Middle_tasks(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
(void) rtems_message_queue_receive(
Queue_id,
@@ -130,7 +130,7 @@ rtems_task High_task(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
(void) rtems_message_queue_receive(
Queue_id,
diff --git a/testsuites/tmtests/tm14/task1.c b/testsuites/tmtests/tm14/task1.c
index 7de2b4b172..cd987ec576 100644
--- a/testsuites/tmtests/tm14/task1.c
+++ b/testsuites/tmtests/tm14/task1.c
@@ -1,6 +1,6 @@
/*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -134,7 +134,7 @@ rtems_task Low_tasks(
rtems_task_argument argument
)
{
- uint32_t size;
+ size_t size;
(void) rtems_message_queue_receive(
Queue_id,
diff --git a/testsuites/tmtests/tm22/task1.c b/testsuites/tmtests/tm22/task1.c
index f6f451813b..b7ae388f20 100644
--- a/testsuites/tmtests/tm22/task1.c
+++ b/testsuites/tmtests/tm22/task1.c
@@ -1,6 +1,6 @@
/*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -114,9 +114,9 @@ rtems_task Low_task(
)
{
rtems_id id;
- uint32_t index;
- uint32_t count;
- uint32_t size;
+ uint32_t index;
+ uint32_t count;
+ size_t size;
rtems_status_code status;
status = rtems_task_create(