diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 06:12:29 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 06:12:29 +0000 |
commit | 14be7a620cf57c04791416515c21efddfb7ef119 (patch) | |
tree | 56c896ad6450a2dce1b1ee229880eafcb55e7331 /testsuites/sptests | |
parent | 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-14be7a620cf57c04791416515c21efddfb7ef119.tar.bz2 |
Pass UINTPTR_MAX instead of 0xffffffff to _Heap_Allocate for 16bit compliance.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/sp63/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |