Author: fireball
Date: Wed Jul 4 00:38:09 2007
New Revision: 27377
URL:
http://svn.reactos.org/svn/reactos?rev=27377&view=rev
Log:
- Fix a multiplication error, which lead to a garbage DueTime being passed to
KeSetTimerEx().
Modified:
trunk/reactos/drivers/network/ndis/ndis/time.c
Modified: trunk/reactos/drivers/network/ndis/ndis/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/time.c (original)
+++ trunk/reactos/drivers/network/ndis/ndis/time.c Wed Jul 4 00:38:09 2007
@@ -206,7 +206,7 @@
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);
}