From cded62189ec646d7ccd5167bc2de1d65246fd153 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 15 Jan 2010 02:38:31 +0000 Subject: [PATCH] Add type-cast to fix build break for IA32 arch git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9768 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c b/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c index e013ae27eb..a3c117feb3 100644 --- a/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c +++ b/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c @@ -2,7 +2,7 @@ Provides the services to get the entry point to a PE/COFF image that has either been loaded into memory or is executing at it's linked address. - Copyright (c) 2006 - 2008, Intel Corporation
+ Copyright (c) 2006 - 2010, Intel Corporation
Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -313,6 +313,6 @@ PeCoffGetSizeOfHeaders ( SizeOfHeaders = 0; } - return SizeOfHeaders; + return (UINT32) SizeOfHeaders; }