diff options
Diffstat (limited to 'DuetPkg/8254TimerDxe/Timer.c')
-rw-r--r-- | DuetPkg/8254TimerDxe/Timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/8254TimerDxe/Timer.c b/DuetPkg/8254TimerDxe/Timer.c index f74827061e..c7deadd737 100644 --- a/DuetPkg/8254TimerDxe/Timer.c +++ b/DuetPkg/8254TimerDxe/Timer.c @@ -265,7 +265,7 @@ Returns: //
// Convert TimerPeriod into 8254 counts
//
- TimerCount = DivU64x32 (MultU64x32 (119318, (UINTN) TimerPeriod) + 500000, 1000000);
+ TimerCount = DivU64x32 (MultU64x32 (119318, (UINT32) TimerPeriod) + 500000, 1000000);
//
// Check for overflow
|