[ros-diffs] [weiden] 24513: Fix optimization bug

weiden at svn.reactos.org weiden at svn.reactos.org
Sun Oct 15 12:53:54 CEST 2006


Author: weiden
Date: Sun Oct 15 14:53:53 2006
New Revision: 24513

URL: http://svn.reactos.org/svn/reactos?rev=24513&view=rev
Log:
Fix optimization bug

Modified:
    trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c

Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c?rev=24513&r1=24512&r2=24513&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c Sun Oct 15 14:53:53 2006
@@ -130,7 +130,7 @@
 static VOID
 __StallExecutionProcessor(ULONG Loops)
 {
-  register unsigned int i;
+  volatile register unsigned int i;
   for (i = 0; i < Loops; i++);
 }
 




More information about the Ros-diffs mailing list