diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2020-10-19 15:12:23 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-10-22 14:48:12 +0000 |
commit | 264eccb5dfc345c2e004883f00e62959f818fafd (patch) | |
tree | 45857b466029c0193a099327b0b8d77ba016dcb1 /BaseTools/Source/Python/Ecc/FileProfile.py | |
parent | 2bdc90429a149af6c0e88506730123586b6e08ae (diff) | |
download | edk2-264eccb5dfc345c2e004883f00e62959f818fafd.tar.gz edk2-264eccb5dfc345c2e004883f00e62959f818fafd.tar.bz2 edk2-264eccb5dfc345c2e004883f00e62959f818fafd.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/FileProfile.py')
0 files changed, 0 insertions, 0 deletions