Pass UINTPTR_MAX instead of 0xffffffff to _Heap_Allocate for 16bit compliance.

This commit is contained in:
Ralf Corsepius
2009-10-30 06:12:29 +00:00
parent c0c139dc7d
commit 14be7a620c
+1 -1
View File
@@ -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");