diff --git a/lib/tevent/tevent_req.c b/lib/tevent/tevent_req.c index 76e27b8f7e9..7821d9ae734 100644 --- a/lib/tevent/tevent_req.c +++ b/lib/tevent/tevent_req.c @@ -84,10 +84,12 @@ struct tevent_req *_tevent_req_create(TALLOC_CTX *mem_ctx, } *req = (struct tevent_req) { - .internal.private_type = type, - .internal.create_location = location, - .internal.state = TEVENT_REQ_IN_PROGRESS, - .internal.trigger = tevent_create_immediate(req) + .internal = { + .private_type = type, + .create_location = location, + .state = TEVENT_REQ_IN_PROGRESS, + .trigger = tevent_create_immediate(req), + }, }; data = talloc_zero_size(req, data_size);