aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/toyvm.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2012-05-03 15:39:57 +0900
committerMITSUNARI Shigeo <[email protected]>2012-05-03 15:39:57 +0900
commitded892de007a3e3381052c9fc181d9a81a3317c5 (patch)
treec8c7c1aeaea61eb331d9d3d9659464effc66dc34 /sample/toyvm.cpp
parent2ad3c232a07b0feb7ee545a1b58e57fbc7a25d02 (diff)
downloadxbyak-ded892de007a3e3381052c9fc181d9a81a3317c5.tar.gz
xbyak-ded892de007a3e3381052c9fc181d9a81a3317c5.zip
remove warning for clang++
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 a3d44c7..8516249 100644
--- a/sample/toyvm.cpp
+++ b/sample/toyvm.cpp
@@ -274,7 +274,7 @@ public:
}
void runByJIT()
{
- ((void (*)())getCode())();
+ ((void (*)())(void*)getCode())();
}
};