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:54:56 +0000 (16:54 +0100)
RT#3629

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

index d72223101d6bd25ec7aef843174aa66cfd8888b0..6ee5d4033b3d0eae3c6c292eb6533abc4bff02ce 100644 (file)
 
 #undef BUFSIZE
 #define BUFSIZE        ((long)1024*8+1)
-int run=0;
+static volatile int run=0;
 
 static int mr=0;
 static int usertime=1;