Skip to content

Commit

Permalink
fix empty data segment literal
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Oct 14, 2024
1 parent 3b37454 commit cb1348a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion w2c2/datasegment.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cb1348a

Please sign in to comment.