Skip to content

Commit 0529815

Browse files
authored
change the alignment, which might potentially casue problem. (#258)
1 parent a0bb761 commit 0529815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

product-mini/platforms/zephyr/simple/src/test_wasm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* which is compiled by emcc or clang toolchain from C source file of:
99
* core/iwasm/app-samples/hello-world/main.c.
1010
*/
11-
unsigned char wasm_test_file[] = { 0x00, 0x61, 0x73, 0x6D, 0x01, 0x00, 0x00,
11+
unsigned char __aligned(4) wasm_test_file[] = { 0x00, 0x61, 0x73, 0x6D, 0x01, 0x00, 0x00,
1212
0x00, 0x00, 0x0D, 0x06, 0x64, 0x79, 0x6C, 0x69, 0x6E, 0x6B, 0xC0, 0x80,
1313
0x04, 0x04, 0x00, 0x00, 0x01, 0x13, 0x04, 0x60, 0x01, 0x7F, 0x00, 0x60,
1414
0x01, 0x7F, 0x01, 0x7F, 0x60, 0x02, 0x7F, 0x7F, 0x01, 0x7F, 0x60, 0x00,

0 commit comments

Comments
 (0)