* they should all be talloc'd strings.
*/
MEM(node = xlat_exp_alloc(ctx, p->type,
- talloc_get_type_abort(p->fmt, char), talloc_array_length(p->fmt) - 1));
+ talloc_get_type_abort_const(p->fmt, char), talloc_array_length(p->fmt) - 1));
node->quote = p->quote;
node->flags = p->flags;
case XLAT_FUNC:
xlat_exp_head_verify(node->call.args);
- (void)talloc_get_type_abort(node->fmt, char);
+ (void)talloc_get_type_abort_const(node->fmt, char);
return;
default:
*/
void xlat_exp_head_verify(xlat_exp_head_t const *head)
{
- (void)talloc_get_type_abort(head, xlat_exp_head_t);
+ (void)talloc_get_type_abort_const(head, xlat_exp_head_t);
xlat_exp_foreach(head, node) xlat_exp_verify(node);
}