From 4da3058929fed46bc508c1b30f43c62c64f196b7 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Fri, 7 May 2010 23:25:20 +0000 Subject: Fix ICC 11.1 build break git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10467 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/Image/Image.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg') 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); -- cgit v1.2.3