audk/ArmPkg/Library/ArmMmuLib
Michael Kubacki 264eccb5df ArmPkg/ArmMmuLib: Explicitly cast function pointer argument
The function ArmReplaceLiveTranslationEntry () is passed as a VOID
pointer to WriteBackDataCacheRange (). This produces the following
warning on VS2019:

warning C4152: nonstandard extension, function/data pointer
conversion in expression

This change explicitly casts the argument to the formal parameter
type VOID*.

This can be reproduced with the following build command:
build -b DEBUG -a AARCH64 -t VS2019 -p ArmPkg/ArmPkg.dsc
-m ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2020-10-22 14:48:12 +00:00
..
AArch64 ArmPkg/ArmMmuLib: Explicitly cast function pointer argument 2020-10-22 14:48:12 +00:00
Arm ArmPkg/ArmMmuLib: Explicitly cast UINT32 data conversions 2020-10-22 14:48:12 +00:00
ArmMmuBaseLib.inf ArmPkg/ArmMmuLib ARM: split ArmMmuLibCore.c into core and update code 2020-03-05 21:08:30 +00:00
ArmMmuPeiLib.inf ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00