summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm29/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-09 21:24:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-09 21:24:06 +0000
commit1055ce20fce7730cd46bb41230252cbaf1acce83 (patch)
treef1bafa58b57cfe61d7acf5947f4d1fb337e72c9e /testsuites/tmtests/tm29/task1.c
parent2009-05-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-1055ce20fce7730cd46bb41230252cbaf1acce83.tar.bz2
Fix most warnings.
Diffstat (limited to 'testsuites/tmtests/tm29/task1.c')
-rw-r--r--testsuites/tmtests/tm29/task1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/tmtests/tm29/task1.c b/testsuites/tmtests/tm29/task1.c
index aff621dc9e..3b3a59ea1d 100644
--- a/testsuites/tmtests/tm29/task1.c
+++ b/testsuites/tmtests/tm29/task1.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -116,7 +116,7 @@ rtems_task Init(
CALLING_OVERHEAD_RATE_MONOTONIC_DELETE
);
-#define LOOP_TASK_PRIORITY ((RTEMS_MAXIMUM_PRIORITY / 2) + 1)
+#define LOOP_TASK_PRIORITY ((RTEMS_MAXIMUM_PRIORITY / 2u) + 1u)
for ( index=1 ; index <= OPERATION_COUNT ; index++ ) {
status = rtems_task_create(
rtems_build_name( 'T', 'E', 'S', 'T' ),
@@ -132,7 +132,7 @@ rtems_task Init(
directive_failed( status, "rtems_task_start LOOP" );
}
-#define MIDDLE_PRIORITY (RTEMS_MAXIMUM_PRIORITY - 2)
+#define MIDDLE_PRIORITY (RTEMS_MAXIMUM_PRIORITY - 2u)
status = rtems_task_create(
rtems_build_name( 'L', 'O', 'W', ' ' ),
MIDDLE_PRIORITY,