// ScatterGatherList is only referenced if the capsules are defined to persist across\r
// system reset. \r
//\r
- if (ScatterGatherList == (EFI_PHYSICAL_ADDRESS) NULL) {\r
+ if (ScatterGatherList == (EFI_PHYSICAL_ADDRESS) (UINTN) NULL) {\r
return EFI_INVALID_PARAMETER;\r
} else {\r
//\r