Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13377
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
// Both FVs don't contain extension header, then compare their whole FV Image.\r
//\r
- if (CompareMem ((VOID *) FvHeader, (VOID *) CachedFvHeader, FvHeader->FvLength) == 0) {\r
+ if (CompareMem ((VOID *) FvHeader, (VOID *) CachedFvHeader, (UINTN) FvHeader->FvLength) == 0) {\r
//\r
// Found the FV image section where the firmware volume came from\r
// and then inherit authentication status from it.\r