From 1aca54ab01a23b58c32271e4335a3478da0e6dc8 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 22 Oct 2024 10:12:29 -0400 Subject: [PATCH] MT#55283 use auto_iter for const queue Works around gcc < 12 being stupid Change-Id: Ifc1189928039b8f8a009343062561ba59ec4a20d --- daemon/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/sdp.c b/daemon/sdp.c index 030e3ffa9..6ac71d5e7 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -364,7 +364,7 @@ static void sdp_manipulations_add(GString *s, const struct sdp_manipulations * s const str_q * q_ptr = &sdp_manipulations->add_commands; - for (__auto_type l = q_ptr->head; l; l = l->next) + for (auto_iter(l, q_ptr->head); l; l = l->next) { str * attr_value = l->data; g_string_append_len(s, "a=", 2);