From: Jan Kiszka <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
---
drivers/watchdog/wdat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/wdat.c b/drivers/watchdog/wdat.c
index 4bb7362..df708cf 100644
--- a/drivers/watchdog/wdat.c
+++ b/drivers/watchdog/wdat.c
@@ -151,7 +151,7 @@ parse_rsdp(EFI_ACPI_ROOT_SDP_HEADER *rsdp, ACPI_TABLE_WDAT
**wdat_table_ptr) {
return EFI_NOT_FOUND;
}
- xsdt = (EFI_ACPI_SDT_HEADER *)(rsdp->xsdt_address);
+ xsdt = (EFI_ACPI_SDT_HEADER *)(UINTN)(rsdp->xsdt_address);
if (strncmpa(ACPI_SIG_XSDT, (CHAR8 *)(VOID *)(xsdt->signature), 4)) {
return EFI_INCOMPATIBLE_VERSION;
}
--
2.31.1
--
You received this message because you are subscribed to the Google Groups "EFI
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/efibootguard-dev/74ac42f0-330a-015d-ee58-90cff95a9731%40siemens.com.