summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfatal08
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/spfatal08
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/spfatal08')
-rw-r--r--testsuites/sptests/spfatal08/testcase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spfatal08/testcase.h b/testsuites/sptests/spfatal08/testcase.h
index 8a2065c2ee..a44b72dd5a 100644
--- a/testsuites/sptests/spfatal08/testcase.h
+++ b/testsuites/sptests/spfatal08/testcase.h
@@ -29,7 +29,7 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
#define FATAL_ERROR_EXPECTED_ERROR INTERNAL_ERROR_WORKSPACE_ALLOCATION
-char Workspace[ 64 * 1024 ] CPU_STRUCTURE_ALIGNMENT;
+char Workspace[ 256 ] CPU_STRUCTURE_ALIGNMENT;
void force_error()
{