Make "run" volatile
authorKurt Roeckx <kurt@roeckx.be>
Tue, 16 Dec 2014 11:35:21 +0000 (12:35 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Tue, 30 Dec 2014 15:46:46 +0000 (16:46 +0100)
RT#3629

Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/speed.c

index e5742e624bfa42a46ae42eb725abab3c0e0d00e8..3dcfb8d89089972483ad53f2bf41da67051644a4 100644 (file)
 #define BUFSIZE        (1024*8+1)
 #define MAX_MISALIGNMENT 63
 
-int run=0;
+static volatile int run=0;
 
 static int mr=0;
 static int usertime=1;