From e6879616e731e6bc2109fbe50610c8c606e8228a Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 10 May 2023 16:18:44 -0400 Subject: wlr_drm_format: Make structure constant length Don't store modifiers as part of the struct. --- include/wlr/render/drm_format_set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/render/drm_format_set.h b/include/wlr/render/drm_format_set.h index 364a3c8d..8ae930be 100644 --- a/include/wlr/render/drm_format_set.h +++ b/include/wlr/render/drm_format_set.h @@ -22,7 +22,7 @@ struct wlr_drm_format { // The capacity of the array; do not use. size_t capacity; // The actual modifiers - uint64_t modifiers[]; + uint64_t *modifiers; }; /** -- cgit v1.2.3