From: Ard Biesheuvel Date: Mon, 10 Aug 2015 07:54:47 +0000 (+0000) Subject: ArmPkg/GenericWatchdogDxe: add missing VOID* cast X-Git-Tag: edk2-stable201903~9092 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=baeddf2b27a91b4d7293f0f3921554db3527e483 ArmPkg/GenericWatchdogDxe: add missing VOID* cast Use an explicit VOID* cast when passing a static char array into a function taking a void pointer. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm Tested-by: Leif Lindholm git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18193 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c b/ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c index b1d9c027d8..54a1625a32 100644 --- a/ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c +++ b/ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c @@ -111,7 +111,7 @@ WatchdogInterruptHandler ( EfiResetCold, EFI_TIMEOUT, StrSize (ResetString), - &ResetString + (VOID *) &ResetString ); // If we got here then the reset didn't work