Build fix: consumer: aggregate initialization isn't supported
[lttng-tools.git] / src / common / consumer / consumer-stream.c
index 1edd908044c453ff5d436ad7da819b1b843ff5f6..a6490abe74352422df4e01190c2390ce91887add 100644 (file)
@@ -670,7 +670,8 @@ struct lttng_consumer_stream *consumer_stream_create(
                goto error;
        }
 
-       stream->send_node = CDS_LIST_HEAD_INIT(stream->send_node);
+       stream->send_node = (typeof(stream->send_node))
+                       CDS_LIST_HEAD_INIT(stream->send_node);
        stream->chan = channel;
        stream->key = stream_key;
        stream->trace_chunk = trace_chunk;
This page took 0.024499 seconds and 4 git commands to generate.