From cb0a42901a0931869ebcede637acec858be70cb7 Mon Sep 17 00:00:00 2001 From: jljusten Date: Wed, 6 Jan 2010 06:31:12 +0000 Subject: OVMF SEC: Fix VS2005 compiler warnings * FindPeiCore.c => FindFfsFileAndSection: remove unreachable code * SecMain.c => SecCoreStartupWithStack: confirm 64-bit to 32-bit conversion with IA32 builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9679 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/Sec/SecMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OvmfPkg/Sec/SecMain.c') diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c index 58da92b086..d6c6f42722 100644 --- a/OvmfPkg/Sec/SecMain.c +++ b/OvmfPkg/Sec/SecMain.c @@ -127,7 +127,7 @@ SecCoreStartupWithStack ( FindPeiCoreEntryPoint (&BootFv, &PeiCoreEntryPoint); SecCoreData->BootFirmwareVolumeBase = BootFv; - SecCoreData->BootFirmwareVolumeSize = BootFv->FvLength; + SecCoreData->BootFirmwareVolumeSize = (UINTN) BootFv->FvLength; if (PeiCoreEntryPoint != NULL) { DEBUG ((EFI_D_INFO, -- cgit v1.2.3