diff --git a/src/main.c b/src/main.c index 8c94f2d52..d6a8b1d11 100644 --- a/src/main.c +++ b/src/main.c @@ -548,7 +548,7 @@ static int processEOption(int *ii, int argc, char **argv) { if (0) {} else if (strcmp(argv[i],"-errors")==0) { - s_opt.show_errors = 1; + s_opt.show_errors = true; } else if (strcmp(argv[i],"-exit")==0) { log_debug("Exiting"); exit(XREF_EXIT_BASE); diff --git a/src/proto.h b/src/proto.h index 2a0c139c6..bab90a97c 100644 --- a/src/proto.h +++ b/src/proto.h @@ -1112,7 +1112,7 @@ typedef struct options { /* CXREF options */ - int show_errors; + bool show_errors; bool brief_cxref; int update; int keep_old;