summaryrefslogtreecommitdiff
path: root/source/components/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/hardware')
-rw-r--r--source/components/hardware/hwtimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/components/hardware/hwtimer.c b/source/components/hardware/hwtimer.c
index 56ca22d9f..64714bfcf 100644
--- a/source/components/hardware/hwtimer.c
+++ b/source/components/hardware/hwtimer.c
@@ -2,7 +2,7 @@
/******************************************************************************
*
* Name: hwtimer.c - ACPI Power Management Timer Interface
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
*****************************************************************************/
@@ -275,7 +275,7 @@ AcpiGetTimerDuration (
*
* TimeElapsed = (DeltaTicks * 1000000) / PM_TIMER_FREQUENCY;
*/
- NormalizedTicks.Full = DeltaTicks * 1000000;
+ NormalizedTicks.Full = ((UINT64) DeltaTicks) * 1000000;
Divisor = PM_TIMER_FREQUENCY;
ACPI_DIV_64_BY_32 (NormalizedTicks.Part.Hi, NormalizedTicks.Part.Lo, Divisor,