]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c
Fix warnings generated by gcc for ia32 builds:
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleService.c
index 383916e8587c0361a9e1180323419839d4d48318..27bc8b346b7b72f4b252849ce4917f3ae7297515 100644 (file)
@@ -95,7 +95,7 @@ Returns:
     // 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