//\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