From cb1348a52476addede5c822a7820363a19b7f231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Mon, 14 Oct 2024 13:45:35 -0700 Subject: [PATCH] fix empty data segment literal --- w2c2/datasegment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w2c2/datasegment.h b/w2c2/datasegment.h index a4ecf6f..3cdd208 100755 --- a/w2c2/datasegment.h +++ b/w2c2/datasegment.h @@ -11,7 +11,7 @@ typedef struct WasmDataSegment { bool passive; } WasmDataSegment; -static const WasmDataSegment wasmEmptyDataSegment = {0, {0, false}, {0, false}}; +static const WasmDataSegment wasmEmptyDataSegment = {0, {0, false}, {0, false}, false}; typedef enum WasmDataSegmentMode { wasmDataSegmentModeArrays,