File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ void vPortDefineHeapRegions( const HeapRegion_t * const pxHeapRegions )
445
445
portPOINTER_SIZE_TYPE xAlignedHeap ;
446
446
size_t xTotalRegionSize , xTotalHeapSize = 0 ;
447
447
BaseType_t xDefinedRegions = 0 ;
448
- size_t xAddress ;
448
+ portPOINTER_SIZE_TYPE xAddress ;
449
449
const HeapRegion_t * pxHeapRegion ;
450
450
451
451
/* Can only call once! */
@@ -458,7 +458,7 @@ void vPortDefineHeapRegions( const HeapRegion_t * const pxHeapRegions )
458
458
xTotalRegionSize = pxHeapRegion -> xSizeInBytes ;
459
459
460
460
/* Ensure the heap region starts on a correctly aligned boundary. */
461
- xAddress = ( size_t ) pxHeapRegion -> pucStartAddress ;
461
+ xAddress = ( portPOINTER_SIZE_TYPE ) pxHeapRegion -> pucStartAddress ;
462
462
463
463
if ( ( xAddress & portBYTE_ALIGNMENT_MASK ) != 0 )
464
464
{
You can’t perform that action at this time.
0 commit comments