Fix build on pre-c99 compilers
This commit is contained in:
parent
bb78ef3457
commit
eef255a8ba
|
@ -8712,7 +8712,7 @@ static void cmd_anal_aav(RCore *core, const char *input) {
|
|||
oldstr = r_print_rowlog (core->print, sdb_fmt ("0x%08"PFMT64x"-0x%08"PFMT64x" in 0x%"PFMT64x"-0x%"PFMT64x" (aav)", from, to, begin, end));
|
||||
r_print_rowlog_done (core->print, oldstr);
|
||||
(void)r_core_search_value_in_range (core, map->itv, from, to, vsize, _CbInRangeAav, (void *)asterisk);
|
||||
}
|
||||
}
|
||||
}
|
||||
r_list_free (list);
|
||||
}
|
||||
|
|
|
@ -2064,7 +2064,8 @@ R_API void r_core_debug_rr(RCore *core, RReg *reg, int mode) {
|
|||
colorend = (delta && use_colors)? Color_RESET: "";
|
||||
|
||||
const char *role = "";
|
||||
for (int i = 0; i < R_REG_NAME_LAST; i++) {
|
||||
int i;
|
||||
for (i = 0; i < R_REG_NAME_LAST; i++) {
|
||||
const char *t = r_reg_get_name (reg, i);
|
||||
if (t && !strcmp (t, r->name)) {
|
||||
role = r_reg_get_role (i);
|
||||
|
|
Loading…
Reference in New Issue