mirror of
https://github.com/reactos/reactos.git
synced 2024-09-07 03:11:07 +00: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:
parent
efb16b636b
commit
c2af381a89
|
@ -206,7 +206,7 @@ NdisMSetPeriodicTimer(
|
||||||
ASSERT(Timer);
|
ASSERT(Timer);
|
||||||
|
|
||||||
/* relative delays are negative, absolute are positive; resolution is 100ns */
|
/* 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);
|
KeSetTimerEx (&Timer->Timer, Timeout, MillisecondsPeriod, &Timer->Dpc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue