summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 20:57:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 20:57:28 +0000
commit82478ffc7db2e3f07ee89b91e40647bb679912cd (patch)
treee7590fa0a880ab69cd97e8baef47a46fc3954f85 /testsuites/sptests/sp09
parent2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-82478ffc7db2e3f07ee89b91e40647bb679912cd.tar.bz2
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c, sp09/screen12.c, sp25/system.h, sp25/task1.c, sp28/init.c, sp39/init.c, sp41/init.c, spfatal01/testcase.h, spfatal08/testcase.h: Change size_t to ssize_t on all Heap, Workspace and Region calls. On 16-bit architectures, size_t can be 16-bits which would limit sizes to 64K. Also address constants which overflowed on 16-bit integer targets.
Diffstat (limited to 'testsuites/sptests/sp09')
-rw-r--r--testsuites/sptests/sp09/screen01.c2
-rw-r--r--testsuites/sptests/sp09/screen12.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp09/screen01.c b/testsuites/sptests/sp09/screen01.c
index 3c0b864e6e..3de2811d8d 100644
--- a/testsuites/sptests/sp09/screen01.c
+++ b/testsuites/sptests/sp09/screen01.c
@@ -62,7 +62,7 @@ void Screen1()
puts( "TA1 - rtems_task_get_note - RTEMS_INVALID_ID" );
status = rtems_task_get_note(
- _RTEMS_tasks_Information.minimum_id + (3<<OBJECTS_API_START_BIT),
+ _RTEMS_tasks_Information.minimum_id + (3L<<OBJECTS_API_START_BIT),
RTEMS_NOTEPAD_LAST,
&notepad_value
);
diff --git a/testsuites/sptests/sp09/screen12.c b/testsuites/sptests/sp09/screen12.c
index 069f578a76..000c4a5f16 100644
--- a/testsuites/sptests/sp09/screen12.c
+++ b/testsuites/sptests/sp09/screen12.c
@@ -26,7 +26,7 @@ void Screen12()
uint32_t good_back_flag;
uint32_t good_front_flag;
uint32_t offset;
- size_t segment_size;
+ ssize_t segment_size;
rtems_status_code status;
Heap_Information_block the_info;