summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-15 14:50:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-15 14:50:25 +0000
commit64f1df3259e1fe0bb2987cdcf61bea2883078318 (patch)
tree2391d2a194f48649374b53c7d965d29d3d42165c /testsuites/libtests
parent2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-64f1df3259e1fe0bb2987cdcf61bea2883078318.tar.bz2
2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Change sizes of heap/region and allocated objects in heap to intptr_t so they can be larger than a single allocatable object (e.g. size_t).
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/ChangeLog6
-rw-r--r--testsuites/libtests/malloctest/init.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog
index 2e99ffbcba..d439e80682 100644
--- a/testsuites/libtests/ChangeLog
+++ b/testsuites/libtests/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * malloctest/init.c: Change sizes of heap/region and allocated objects
+ in heap to intptr_t so they can be larger than a single allocatable
+ object (e.g. size_t).
+
2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Do not generate alignment factors larger that will
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index db973e2377..37c9e4d762 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -119,7 +119,7 @@ void test_heap_init()
void test_heap_cases_1()
{
void *p1, *p2, *p3, *p4;
- uint32_t u1, u2;
+ intptr_t u1, u2;
Heap_Resize_status rsc;
/*