From fa1f06919a1089f7e0986b7256b89004cd10dacb Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 15 Oct 2006 10:53:53 +0000 Subject: [PATCH] Fix optimization bug svn path=/trunk/; revision=24513 --- reactos/boot/freeldr/freeldr/arch/i386/hardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/boot/freeldr/freeldr/arch/i386/hardware.c b/reactos/boot/freeldr/freeldr/arch/i386/hardware.c index 2124ecc99a5..ff3d33d52f3 100644 --- a/reactos/boot/freeldr/freeldr/arch/i386/hardware.c +++ b/reactos/boot/freeldr/freeldr/arch/i386/hardware.c @@ -130,7 +130,7 @@ extern char reactos_arc_strings[32][256]; static VOID __StallExecutionProcessor(ULONG Loops) { - register unsigned int i; + volatile register unsigned int i; for (i = 0; i < Loops; i++); }