From 9f0b11ca07832189d8ceb82d9a5ed38f9b4cdc17 Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Wed, 16 Jan 2013 10:14:36 +0000 Subject: Fix build failure. Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14056 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c | 2 +- MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Universal') diff --git a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c index 723c77a..60cd9b1 100644 --- a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c +++ b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c @@ -359,7 +359,7 @@ BootScriptWriteMemPoll ( // Duration will be minimum 1(microsecond) to be minimum deviation, // so LoopTimes = Delay / 10. // - LoopTimes = DivU64x32Remainder ( + LoopTimes = (UINTN) DivU64x32Remainder ( Delay, 10, &Remainder diff --git a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c index 3bb086f..e422728 100644 --- a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c +++ b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c @@ -358,7 +358,7 @@ BootScriptWriteMemPoll ( // Duration will be minimum 1(microsecond) to be minimum deviation, // so LoopTimes = Delay / 10. // - LoopTimes = DivU64x32Remainder ( + LoopTimes = (UINTN) DivU64x32Remainder ( Delay, 10, &Remainder -- cgit v1.1