From 14be7a620cf57c04791416515c21efddfb7ef119 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 30 Oct 2009 06:12:29 +0000 Subject: Pass UINTPTR_MAX instead of 0xffffffff to _Heap_Allocate for 16bit compliance. --- testsuites/sptests/sp63/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/sptests/sp63/init.c b/testsuites/sptests/sp63/init.c index 798c038d77..9e8bb668ba 100644 --- a/testsuites/sptests/sp63/init.c +++ b/testsuites/sptests/sp63/init.c @@ -33,7 +33,7 @@ void test_case_one(void) assert( heap_size ); puts( "Init - _Heap_Allocate - too large size (overflow)- not OK"); - ptr1 = _Heap_Allocate( &Heap, 0xffffffff ); + ptr1 = _Heap_Allocate( &Heap, UINTPTR_MAX ); assert( !ptr1 ); puts( "Init - _Heap_Allocate_aligned - OK"); -- cgit v1.2.3