From 3b3f057f6f601e2c20b806eeeab37600a0a536a1 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 8 Aug 2024 06:11:00 +0300 Subject: [PATCH] engine: common: fix winding_t definition so it has true standard flexible array member --- engine/common/mod_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/mod_local.h b/engine/common/mod_local.h index b8050af7..c75246f5 100644 --- a/engine/common/mod_local.h +++ b/engine/common/mod_local.h @@ -74,7 +74,7 @@ typedef struct winding_s struct winding_s *pair; hullnode_t chain; int numpoints; - vec3_t p[4]; // variable sized + vec3_t p[]; // variable sized } winding_t; typedef struct