From cd47c2446f1a9dee96610f298989848f8986a8be Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 00:55:52 +0200 Subject: Merging upstream version 7.0.16-dfsg. Signed-off-by: Daniel Baumann --- include/VBox/intnet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/VBox/intnet.h') diff --git a/include/VBox/intnet.h b/include/VBox/intnet.h index 815143ff..2e593067 100644 --- a/include/VBox/intnet.h +++ b/include/VBox/intnet.h @@ -355,7 +355,8 @@ typedef struct INTNETSG /** The number of segments actually used. */ uint16_t cSegsUsed; /** Variable sized list of segments. */ - INTNETSEG aSegs[1]; + RT_FLEXIBLE_ARRAY_EXTENSION + INTNETSEG aSegs[RT_FLEXIBLE_ARRAY]; } INTNETSG; AssertCompileSizeAlignment(INTNETSG, 8); /** Pointer to a scatter / gather list. */ -- cgit v1.2.3