Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix compiler wa…
…rning Assigning MmramRangeCount from MmCorePrivate (UINT64) to local variable MmramRangeCount (UINT32) will cause compilation failure due to "warning C4244: '=': conversion from 'UINT64' to 'UINT32', possible loss of data". This changes defines local MmramRangeCount as UINTN type and adds type cast before value assignment. Cc: Ard Biesheuvel <[email protected]> Cc: Sami Mujawar <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Supreeth Venkatesh <[email protected]> Signed-off-by: Kun Qin <[email protected]> Reviewed-by: Jiewen Yao <[email protected]>
- Loading branch information