diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2020-03-29 15:44:38 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-30 12:05:28 +0000 |
commit | 3000c2963db319d055f474c394b062af910bbb2f (patch) | |
tree | 53feff0843ae4d9670d9fe953c7c52936288fd85 /BaseTools/Source/Python/CommonDataClass/DataClass.py | |
parent | d4e2909bfc34027ab1dc678c5361856688b03dfe (diff) | |
download | edk2-3000c2963db319d055f474c394b062af910bbb2f.tar.gz edk2-3000c2963db319d055f474c394b062af910bbb2f.tar.bz2 edk2-3000c2963db319d055f474c394b062af910bbb2f.zip |
OvmfPkg/GenericQemuLoadImageLib: Fix VS2019 UINT32 conversion error
Building OVMF for X64 with secure boot enabled on VS2019 results in
the following error:
d:\a\1\s\OvmfPkg\Library\GenericQemuLoadImageLib\GenericQemuLoadImageLib.c(154):
error C2220: the following warning is treated as an error
d:\a\1\s\OvmfPkg\Library\GenericQemuLoadImageLib\GenericQemuLoadImageLib.c(154):
warning C4244: '=': conversion from 'UINTN' to 'UINT32', possible loss of data
Suppress the error by making the cast explicit.
Link: https://bugzilla.tianocore.org/show_bug.cgi?id=2636
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/DataClass.py')
0 files changed, 0 insertions, 0 deletions