Make BusyLoop volatile. Spotted by Thomas.
authorFilip Navara <filip.navara@gmail.com>
Wed, 24 Aug 2005 14:15:54 +0000 (14:15 +0000)
committerFilip Navara <filip.navara@gmail.com>
Wed, 24 Aug 2005 14:15:54 +0000 (14:15 +0000)
svn path=/trunk/; revision=17512

reactos/drivers/net/ndis/ndis/control.c

index c7cd310..ec2db26 100644 (file)
@@ -50,7 +50,7 @@ NdisAcquireReadWriteLock(
 {
   ULONG RefCount;
   UCHAR ProcessorNumber;
 {
   ULONG RefCount;
   UCHAR ProcessorNumber;
-  UCHAR BusyLoop;
+  volatile UCHAR BusyLoop;
 
   ASSERT_IRQL(DISPATCH_LEVEL);
 
 
   ASSERT_IRQL(DISPATCH_LEVEL);