2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
* config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
avoid const warnings.
+2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
+
+ * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
+ avoid const warnings.
+
2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
* config/tc-riscv.c (riscv_clear_subsets): New function.
while (riscv_subsets != NULL)
{
struct riscv_subset *next = riscv_subsets->next;
- free (riscv_subsets->name);
+ free ((void *) riscv_subsets->name);
free (riscv_subsets);
riscv_subsets = next;
}