Make first a 'bool' instead of a 'boolean_t'.
'bool' is preferred to 'boolean_t'. We only get the boolean_t definition by header pollution (though the same is true for bool). Since we use both, switch entirely to bool. Note: We still have TRUE/FALSE instead of true/false in heavy use in the rest of the file. These are with ints of various flavors, so that's appropriate, even though we should eventually migrate to bool and true/false (though the tables they are in are nicely packed with short and wouldn't be so nicely packed with bool, another reason to leave it alone for now).
This commit is contained in:
parent
881597c36c
commit
5bc896bcc2
@ -1166,7 +1166,7 @@ db_disasm(db_addr_t loc, bool altfmt)
|
|||||||
int i_size;
|
int i_size;
|
||||||
int i_mode;
|
int i_mode;
|
||||||
int regmodrm = 0;
|
int regmodrm = 0;
|
||||||
boolean_t first;
|
bool first;
|
||||||
int displ;
|
int displ;
|
||||||
int prefix;
|
int prefix;
|
||||||
int rep;
|
int rep;
|
||||||
@ -1338,9 +1338,9 @@ db_disasm(db_addr_t loc, bool altfmt)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
db_printf("\t");
|
db_printf("\t");
|
||||||
for (first = TRUE;
|
for (first = true;
|
||||||
i_mode != 0;
|
i_mode != 0;
|
||||||
i_mode >>= 8, first = FALSE)
|
i_mode >>= 8, first = false)
|
||||||
{
|
{
|
||||||
if (!first)
|
if (!first)
|
||||||
db_printf(",");
|
db_printf(",");
|
||||||
|
Loading…
Reference in New Issue
Block a user