summaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.h b/src/ast.h
index 993b71fd..9d196899 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -184,7 +184,7 @@ WABT_DEFINE_VECTOR(memory_ptr, MemoryPtr);
struct DataSegment {
Var memory_var;
Expr* offset;
- void* data;
+ char* data;
size_t size;
};
typedef DataSegment* DataSegmentPtr;
@@ -295,7 +295,7 @@ struct RawModule {
struct {
Location loc;
StringSlice name;
- void* data;
+ char* data;
size_t size;
} binary;
};