summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Core
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-02 02:50:13 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-02 02:50:13 +0000
commit3401c092e4e98b97bcf86d9aa2500d5ee7b3b8cf (patch)
tree11694e4fd270c6594b3ae0fa54a173a5346af3a1 /EdkModulePkg/Core
parentdb6efc11d350c27308e6e08d542f3f6ef17cd64f (diff)
downloadedk2-platforms-3401c092e4e98b97bcf86d9aa2500d5ee7b3b8cf.tar.xz
Make EDK Module Package pass Intel IPF compiler with /Ox switch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Core')
-rw-r--r--EdkModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c b/EdkModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c
index 3131533b2a..b04c9a7e1b 100644
--- a/EdkModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c
+++ b/EdkModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c
@@ -50,7 +50,7 @@ Returns:
{
CHAR8 *Destination8;
CHAR8 *Source8;
- UINTN Length;
+ volatile UINTN Length;
Destination8 = Buffer;
Source8 = (CHAR8 *) ((UINTN) FileHandle + FileOffset);