- use MAX_LOGLEV as array bounds for log_actions

This commit is contained in:
Bryce Denney 2001-05-22 20:02:24 +00:00
parent a04c65e642
commit 2eafaa4d17
1 changed files with 1 additions and 1 deletions

View File

@ -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;