diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-08-10 07:54:47 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-08-10 07:54:47 +0000 |
commit | baeddf2b27a91b4d7293f0f3921554db3527e483 (patch) | |
tree | b1ba6d9f5af0cd766d0b7374f9a4687e3fc8d944 /ArmPkg/Drivers | |
parent | 906e8ce4691d4c5ea088f840b645a2cbdbafe095 (diff) | |
download | edk2-platforms-baeddf2b27a91b4d7293f0f3921554db3527e483.tar.xz |
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
Diffstat (limited to 'ArmPkg/Drivers')
-rw-r--r-- | ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c | 2 |
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
|