Update BaseUefiTianoCustomDecompressLib to pass GCC build.
authorxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 18 Mar 2008 08:12:02 +0000 (08:12 +0000)
committerxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 18 Mar 2008 08:12:02 +0000 (08:12 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4901 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c

index 510ca90..d3d99ea 100644 (file)
@@ -821,7 +821,7 @@ Returns:
   //\r
   return UefiDecompressGetInfo (\r
           (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset,\r
-          *(UINT32 *) (((EFI_COMMON_SECTION_HEADER *) InputSection)->Size) & 0x00ffffff - ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset,\r
+          (*(UINT32 *) (((EFI_COMMON_SECTION_HEADER *) InputSection)->Size) & 0x00ffffff) - ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset,\r
           OutputBufferSize,\r
           ScratchBufferSize\r
          );\r