summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Disk
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-01-13 05:33:47 +0000
committerniruiyu <niruiyu@Edk2>2015-01-13 05:33:47 +0000
commit173acde9162ad099005ef25456237c8a0e1b8d7f (patch)
tree1545f967b976b1c141e4508df87cfb3229013869 /MdeModulePkg/Universal/Disk
parenta782428ec66f9cd306ef944448a9427b8e8a1e87 (diff)
downloadedk2-173acde9162ad099005ef25456237c8a0e1b8d7f.zip
edk2-173acde9162ad099005ef25456237c8a0e1b8d7f.tar.gz
edk2-173acde9162ad099005ef25456237c8a0e1b8d7f.tar.bz2
Fix IA32 build failure: Use MultU64x32 for 64bit * 32bit.
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
Diffstat (limited to 'MdeModulePkg/Universal/Disk')
-rw-r--r--MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c b/MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c
index 9264ef3..2238449 100644
--- a/MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c
+++ b/MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c
@@ -1,7 +1,7 @@
/** @file
Decode an El Torito formatted CD-ROM
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -258,7 +258,7 @@ PartitionInstallElToritoChildHandles (
DevicePath,
(EFI_DEVICE_PATH_PROTOCOL *) &CdDev,
Catalog->Boot.Lba * (SIZE_2KB / Media->BlockSize),
- (Catalog->Boot.Lba + CdDev.PartitionSize - 1) * (SIZE_2KB / Media->BlockSize),
+ MultU64x32 (Catalog->Boot.Lba + CdDev.PartitionSize - 1, SIZE_2KB / Media->BlockSize),
SubBlockSize,
FALSE
);