diff options
author | MITSUNARI Shigeo <[email protected]> | 2018-10-21 17:23:26 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2018-10-21 17:23:26 +0900 |
commit | afdb9fe9ff49a48fda3da72d46f45451f8d8e401 (patch) | |
tree | 1685c4f70fb2449a24dbe6ed24d8648078fbbbce /sample/toyvm.cpp | |
parent | b011aca4b4c866bb5a468c37cd3eb115c095d6ea (diff) | |
download | xbyak-afdb9fe9ff49a48fda3da72d46f45451f8d8e401.tar.gz xbyak-afdb9fe9ff49a48fda3da72d46f45451f8d8e401.zip |
Xbyak::CastTo is removed
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 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); |