Commit 36dccc16 authored by Francis Dupont's avatar Francis Dupont
Browse files

Fixed embedded atf code warning (RT 46833)

parent 9448aaca
......@@ -285,7 +285,9 @@ list_tcs(const atf_tp_t *tp)
atf_utils_free_charpp(vars);
}
free(tcs);
#define UNCONST(a) ((void *)(unsigned long)(const void *)(a))
free(UNCONST(tcs));
#undef UNCONST
}
/* ---------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment