diff options
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index 32b6fe6d9..9e6366d36 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -870,7 +870,7 @@ void test_core() { // Memory. One per module const char* segments[] = { "hello, world", "I am passive" }; - bool segmentPassive[] = { false, true }; + bool segmentPassive[] = {false, true}; BinaryenExpressionRef segmentOffsets[] = { BinaryenConst(module, BinaryenLiteralInt32(10)), NULL }; BinaryenIndex segmentSizes[] = { 12, 12 }; BinaryenSetMemory(module, 1, 256, "mem", segments, segmentPassive, segmentOffsets, segmentSizes, 2, 1); @@ -1367,7 +1367,7 @@ void test_for_each() { const char* segments[] = { "hello, world", "segment data 2" }; const uint32_t expected_offsets[] = { 10, 125 }; - bool segmentPassive[] = { false, false }; + bool segmentPassive[] = {false, false}; BinaryenIndex segmentSizes[] = { 12, 14 }; BinaryenExpressionRef segmentOffsets[] = { |