summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-08-10 07:54:47 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-08-10 07:54:47 +0000
commitbaeddf2b27a91b4d7293f0f3921554db3527e483 (patch)
treeb1ba6d9f5af0cd766d0b7374f9a4687e3fc8d944
parent906e8ce4691d4c5ea088f840b645a2cbdbafe095 (diff)
downloadedk2-baeddf2b27a91b4d7293f0f3921554db3527e483.tar.gz
edk2-baeddf2b27a91b4d7293f0f3921554db3527e483.tar.bz2
edk2-baeddf2b27a91b4d7293f0f3921554db3527e483.zip
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 <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18193 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c2
1 files changed, 1 insertions, 1 deletions
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