]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix IA32 build failure: Use MultU64x32 for 64bit * 32bit.
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 13 Jan 2015 05:33:47 +0000 (05:33 +0000)
committerniruiyu <niruiyu@Edk2>
Tue, 13 Jan 2015 05:33:47 +0000 (05:33 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16604 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c

index 9264ef311917dd26a0821d34418646fcec2a710f..22384499c56a05f125a65373db3c999b014affc2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Decode an El Torito formatted CD-ROM\r
 \r
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -258,7 +258,7 @@ PartitionInstallElToritoChildHandles (
                 DevicePath,\r
                 (EFI_DEVICE_PATH_PROTOCOL *) &CdDev,\r
                 Catalog->Boot.Lba * (SIZE_2KB / Media->BlockSize),\r
-                (Catalog->Boot.Lba + CdDev.PartitionSize - 1) * (SIZE_2KB / Media->BlockSize),\r
+                MultU64x32 (Catalog->Boot.Lba + CdDev.PartitionSize - 1, SIZE_2KB / Media->BlockSize),\r
                 SubBlockSize,\r
                 FALSE\r
                 );\r