mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Fixed embedded atf code warning (RT 46833)
This commit is contained in:
parent
bfb76ec3a4
commit
993a57a5eb
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue