Skip to content
Snippets Groups Projects
Commit 470ca264 authored by Alessandro Di Federico's avatar Alessandro Di Federico
Browse files

Convert `bool` arguments to `int`

The `argparse` library treats boolean arguments as
integers. Specifically, each time a boolean argument is meet the
associated variable is incremented. This led to weird behaviors having
`2` being converted to `false`. Using `int` as a type solves this issue.
parent 5f8249ce
No related branches found
No related tags found
No related merge requests found
......@@ -49,11 +49,11 @@ struct ProgramParameters {
const char *LinkingInfoPath;
const char *CoveragePath;
const char *BBSummaryPath;
bool NoOSRA;
bool UseSections;
bool DetectFunctionsBoundaries;
bool NoLink;
bool External;
int NoOSRA;
int UseSections;
int DetectFunctionsBoundaries;
int NoLink;
int External;
};
// When LibraryPointer is destroyed, the destructor calls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment