aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/toyvm.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2012-05-10 16:06:05 +0900
committerMITSUNARI Shigeo <[email protected]>2012-05-10 16:06:05 +0900
commit17a9cd71bea73e7c0d7ca04f3cdf363481f50c4c (patch)
treeffbdbe849a0452f504a2eab48455d60da08119c4 /sample/toyvm.cpp
parent0ed670f409edace0f65849f022313d5fa48957d2 (diff)
downloadxbyak-17a9cd71bea73e7c0d7ca04f3cdf363481f50c4c.tar.gz
xbyak-17a9cd71bea73e7c0d7ca04f3cdf363481f50c4c.zip
remove warning for gcc 4.7
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())();
}
};