Skip to content
Commit 7272ae92 authored by Zhang, Shenglei's avatar Zhang, Shenglei Committed by Michael Kubacki
Browse files

MinPlatformPkg/SecFspWrapperPlatformSecLib: Change TopOfTemporaryRam type



Update the type of TopOfTemporaryRam from UINT32 to UINTN.
This change is intended to support X64 build scenarios.
The original code(line 64) may cast the overflowed result
produced by "(TopOfTemporaryRam - sizeof (UINT32))"from
32bit to 64bit.

Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: default avatarShenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: default avatarChasel Chiu <chasel.chiu@intel.com>
Reviewed-by: default avatarMichael Kubacki <michael.a.kubacki@intel.com>
parent f9dba2a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment