]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/GenericWatchdogDxe: add missing VOID* cast
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 10 Aug 2015 07:54:47 +0000 (07:54 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 10 Aug 2015 07:54:47 +0000 (07:54 +0000)
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

ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c

index b1d9c027d80ec01b89537a07bf9fe0244dd8b21c..54a1625a32137556b58fa93ddf7fbe4d0f22c786 100644 (file)
@@ -111,7 +111,7 @@ WatchdogInterruptHandler (
          EfiResetCold,\r
          EFI_TIMEOUT,\r
          StrSize (ResetString),\r
-         &ResetString\r
+         (VOID *) &ResetString\r
          );\r
 \r
   // If we got here then the reset didn't work\r