WIP: Backport of "compositor: fix compiler warning due to c99-ism" into 1.16
Backport of !308 (merged) "compositor: fix compiler warning due to c99-ism".
Needs manual intervention, cherry-picking failed!
Commits:
- 825b5c31 compositor: fix compiler warning due to c99-ism