aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/toyvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sample/toyvm.cpp')
-rw-r--r--sample/toyvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/toyvm.cpp b/sample/toyvm.cpp
index 8516249..733fe60 100644
--- a/sample/toyvm.cpp
+++ b/sample/toyvm.cpp
@@ -274,7 +274,7 @@ public:
}
void runByJIT()
{
- ((void (*)())(void*)getCode())();
+ ((void (*)())(const void*)getCode())();
}
};