diff options
author | MITSUNARI Shigeo <[email protected]> | 2012-05-10 16:06:05 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2012-05-10 16:06:05 +0900 |
commit | 17a9cd71bea73e7c0d7ca04f3cdf363481f50c4c (patch) | |
tree | ffbdbe849a0452f504a2eab48455d60da08119c4 /sample/toyvm.cpp | |
parent | 0ed670f409edace0f65849f022313d5fa48957d2 (diff) | |
download | xbyak-17a9cd71bea73e7c0d7ca04f3cdf363481f50c4c.tar.gz xbyak-17a9cd71bea73e7c0d7ca04f3cdf363481f50c4c.zip |
remove warning for gcc 4.7
Diffstat (limited to 'sample/toyvm.cpp')
-rw-r--r-- | sample/toyvm.cpp | 2 |
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())(); } }; |