summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2020-06-26 16:28:04 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-06-27 09:00:57 +0000
commit654dc3ed852aafa126e9d539b7002db348dd6eb0 (patch)
tree25b0b22be2af3d7213aa30b81904b2eee3438f28 /IntelFsp2Pkg
parenta4a2258a1fec66665481b0bd929b049921cb07a0 (diff)
downloadedk2-654dc3ed852aafa126e9d539b7002db348dd6eb0.tar.gz
edk2-654dc3ed852aafa126e9d539b7002db348dd6eb0.tar.bz2
edk2-654dc3ed852aafa126e9d539b7002db348dd6eb0.zip
ArmPkg/ArmMmuLib: Fix implicit cast
While building with the following command line: build -b DEBUG -a AARCH64 -t VS2017 -p MdeModulePkg\MdeModulePkg.dsc A missing cast triggers the following warning, then triggering an error: ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c(652): warning C4152: nonstandard extension, function/data pointer conversion in expression This patch first casts the function pointer to (UINTN), then to (VOID *), followowing the C99 standard s6.3.2.3 "Pointer", paragraphs 5 and 6. This suppresses the warning. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Suggested-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'IntelFsp2Pkg')
0 files changed, 0 insertions, 0 deletions