aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/toyvm.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2018-10-21 17:23:26 +0900
committerMITSUNARI Shigeo <[email protected]>2018-10-21 17:23:26 +0900
commitafdb9fe9ff49a48fda3da72d46f45451f8d8e401 (patch)
tree1685c4f70fb2449a24dbe6ed24d8648078fbbbce /sample/toyvm.cpp
parentb011aca4b4c866bb5a468c37cd3eb115c095d6ea (diff)
downloadxbyak-afdb9fe9ff49a48fda3da72d46f45451f8d8e401.tar.gz
xbyak-afdb9fe9ff49a48fda3da72d46f45451f8d8e401.zip
Xbyak::CastTo is removed
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 4dedad4..cd869ea 100644
--- a/sample/toyvm.cpp
+++ b/sample/toyvm.cpp
@@ -204,7 +204,7 @@ public:
push(reg[r]);
push('A' + r);
push((int)str);
- call(Xbyak::CastTo<void*>(printf));
+ call(reinterpret_cast<const void*>(printf));
add(esp, 4 * 4);
pop(ecx);
pop(edx);