Re: [edk2-devel] [patch v2] OvmfPkg: Fix build failure with VS2015 tool chain

2020-03-16 Thread Liming Gao
I take BZ 2582. I will update the commit message and merge this change. Thanks Liming > -Original Message- > From: Laszlo Ersek > Sent: Thursday, March 12, 2020 3:47 PM > To: Gao, Liming ; devel@edk2.groups.io > Cc: Ard Biesheuvel ; michael.kuba...@microsoft.com > Subject: Re: [patch v2]

Re: [edk2-devel] [patch v2] OvmfPkg: Fix build failure with VS2015 tool chain

2020-03-12 Thread Laszlo Ersek
Hello Liming, (adding Michael) On 03/12/20 05:30, Liming Gao wrote: > warning C4244: '=': conversion from 'UINTN' to 'UINT32', possible loss of data > With this fix, OvmfIa32, OvmfX64 and OvmfIa32X64 can pass build. > > Cc: Laszlo Ersek > Cc: Ard Biesheuvel > Signed-off-by: Liming Gao > --- >

[edk2-devel] [patch v2] OvmfPkg: Fix build failure with VS2015 tool chain

2020-03-11 Thread Liming Gao
warning C4244: '=': conversion from 'UINTN' to 'UINT32', possible loss of data With this fix, OvmfIa32, OvmfX64 and OvmfIa32X64 can pass build. Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Liming Gao --- OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c | 2 +- 1 file changed, 1