summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-07 23:25:20 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-07 23:25:20 +0000
commit4da3058929fed46bc508c1b30f43c62c64f196b7 (patch)
tree0cb6238b023d1c8bc18cb40422b853dda25e009e /MdeModulePkg/Core
parentcab979f16135950feb0294d54ddceadceee0082f (diff)
downloadedk2-platforms-4da3058929fed46bc508c1b30f43c62c64f196b7.tar.xz
Fix ICC 11.1 build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10467 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/Pei/Image/Image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c
index 75dd9b2a97..5b2a6d0a72 100644
--- a/MdeModulePkg/Core/Pei/Image/Image.c
+++ b/MdeModulePkg/Core/Pei/Image/Image.c
@@ -82,9 +82,9 @@ PeiImageReadForShadow (
OUT VOID *Buffer
)
{
- CHAR8 *Destination8;
- CHAR8 *Source8;
- UINTN Length;
+ volatile CHAR8 *Destination8;
+ CHAR8 *Source8;
+ UINTN Length;
Destination8 = Buffer;
Source8 = (CHAR8 *) ((UINTN) FileHandle + FileOffset);