From 2eafaa4d174e07b38dc0112a5ef9572bd4c3e1f4 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Tue, 22 May 2001 20:02:24 +0000 Subject: [PATCH] - use MAX_LOGLEV as array bounds for log_actions --- bochs/bochs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/bochs.h b/bochs/bochs.h index 992cc370d..da207aa58 100644 --- a/bochs/bochs.h +++ b/bochs/bochs.h @@ -556,7 +556,7 @@ typedef struct { bx_load32bitOSImage_t load32bitOSImage; // one array item for each log level, indexed by LOGLEV_*. // values: 0=ignore event, 1=report event in log, 2=crash - unsigned char log_actions[4]; + unsigned char log_actions[MAX_LOGLEV]; } bx_options_t; extern bx_options_t bx_options;