summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 08:24:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 08:24:08 +0000
commit9625b235c50578ddb831ef49d49516f330145e2f (patch)
tree7612f1767eda94a2271fdea85913f542bdc65b08 /testsuites
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-9625b235c50578ddb831ef49d49516f330145e2f.tar.bz2
Fix _Heap_Resize_block args.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/malloctest/init.c2
-rw-r--r--testsuites/sptests/sp63/init.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index 395f39ff45..6e56e094f7 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -134,7 +134,7 @@ static void test_free( void *addr )
static void test_heap_cases_1(void)
{
void *p1, *p2, *p3;
- intptr_t u1, u2;
+ uintptr_t u1, u2;
Heap_Resize_status rsc;
/*
diff --git a/testsuites/sptests/sp63/init.c b/testsuites/sptests/sp63/init.c
index d3afbf05db..a6b228034f 100644
--- a/testsuites/sptests/sp63/init.c
+++ b/testsuites/sptests/sp63/init.c
@@ -23,8 +23,8 @@ void test_case_one(void)
{
uint32_t heap_size;
void *ptr1;
- intptr_t old;
- intptr_t avail;
+ uintptr_t old;
+ uintptr_t avail;
Heap_Resize_status hc;
puts( "Init - _Heap_Initialize (for test one) - OK" );
@@ -53,8 +53,8 @@ void test_case_two(void)
{
uint32_t heap_size;
void *ptr1;
- intptr_t old;
- intptr_t avail;
+ uintptr_t old;
+ uintptr_t avail;
Heap_Resize_status hc;
puts( "\nInit - _Heap_Initialize (for test two) - OK" );