]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix ICC 11.1 build error
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 May 2010 22:46:54 +0000 (22:46 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 May 2010 22:46:54 +0000 (22:46 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10465 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzmaDec.c

index f74f505aa19f760084a3f8e25d4818691dc576e1..e3db4edbb413a707a38c033b87d2cae4cfb4f0a6 100644 (file)
@@ -419,7 +419,7 @@ static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte
           const Byte *lim = dest + curLen;\r
           dicPos += curLen;\r
           do\r
-            *(dest) = (Byte)*(dest + src);\r
+            *((volatile Byte *)dest) = (Byte)*(dest + src);\r
           while (++dest != lim);\r
         }\r
         else\r