mirror of
https://github.com/reactos/reactos.git
synced 2026-07-04 18:05:39 +08:00
- Fix a multiplication error, which lead to a garbage DueTime being passed to KeSetTimerEx().
svn path=/trunk/; revision=27377
This commit is contained in:
@@ -206,7 +206,7 @@ NdisMSetPeriodicTimer(
|
||||
ASSERT(Timer);
|
||||
|
||||
/* relative delays are negative, absolute are positive; resolution is 100ns */
|
||||
Timeout.QuadPart = MillisecondsPeriod * -10000;
|
||||
Timeout.QuadPart = Int32x32To64(MillisecondsPeriod, -10000);
|
||||
|
||||
KeSetTimerEx (&Timer->Timer, Timeout, MillisecondsPeriod, &Timer->Dpc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user