static inline trie_t * ns_gettrie(nstack_t *ns)
{
assert(ns && ns->stack && ns->stack[0]);
- return (struct trie *)&ns->stack[0];
+ return (struct trie *)ns->stack[0];
}
/*! \brief Free inside of the stack, i.e. not the passed pointer itself. */
* - key lengths are limited by 2^32-1 ATM
*
* XXX EDITORS: trie.{h,c} are synced from
- * https://gitlab.labs.nic.cz/knot/knot-dns src/contrib/qp-trie tree 5a07850389039
+ * https://gitlab.labs.nic.cz/knot/knot-dns src/contrib/qp-trie tree 0193b76f03
* only with tiny adjustments, mostly #includes and KR_EXPORT.
*/