summaryrefslogtreecommitdiff
path: root/src/interpreter.h
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-03-06 11:34:37 -0800
committerGitHub <noreply@github.com>2017-03-06 11:34:37 -0800
commite4dda12b17a5323a56b6782a6787f258ed2d8c81 (patch)
treec47e34928fc9b48f5b8dd1579e4c0213074b6494 /src/interpreter.h
parentb6e5735f3bfbb66d76142fc2f404da796289fc76 (diff)
downloadwabt-e4dda12b17a5323a56b6782a6787f258ed2d8c81.tar.gz
wabt-e4dda12b17a5323a56b6782a6787f258ed2d8c81.tar.bz2
wabt-e4dda12b17a5323a56b6782a6787f258ed2d8c81.zip
Use new/delete instead of malloc/free (#332)
Also switch some void* -> char*, because it removes some unnecessary casts. C++ does not like void*.
Diffstat (limited to 'src/interpreter.h')
-rw-r--r--src/interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpreter.h b/src/interpreter.h
index 348d4be9..230a753d 100644
--- a/src/interpreter.h
+++ b/src/interpreter.h
@@ -116,7 +116,7 @@ struct InterpreterTable {
WABT_DEFINE_VECTOR(interpreter_table, InterpreterTable);
struct InterpreterMemory {
- void* data;
+ char* data;
Limits page_limits;
uint32_t byte_size; /* Cached from page_limits. */
};