mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-02 19:55:14 +00:00
Revert bd3465c9a3fbeddf83980dc07eaac588320f7d (warning remains fixed)
This reverts commit titled "Fixed free const warning".
This commit is contained in:
parent
a5c9fc7855
commit
0f275ea9a6
@ -1711,7 +1711,7 @@ static int cb_scrstrconv(void *user, void *data) {
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
free (core->print->strconv_mode);
|
||||
free ((char *)core->print->strconv_mode);
|
||||
core->print->strconv_mode = strdup (node->value);
|
||||
}
|
||||
return true;
|
||||
|
@ -88,7 +88,7 @@ typedef struct r_print_t {
|
||||
int lines_cache_sz;
|
||||
int lines_abs;
|
||||
bool esc_bslash;
|
||||
char *strconv_mode;
|
||||
const char *strconv_mode;
|
||||
|
||||
// when true it uses row_offsets
|
||||
bool calc_row_offsets;
|
||||
|
Loading…
x
Reference in New Issue
Block a user