mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
- fix clang compile error
This commit is contained in:
parent
3453f05f06
commit
c17be9eb21
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ static void CallSqrt(asmjit::X86Compiler& cc, const asmjit::X86Xmm &a, const asm
|
||||||
{
|
{
|
||||||
using namespace asmjit;
|
using namespace asmjit;
|
||||||
typedef double(*FuncPtr)(double);
|
typedef double(*FuncPtr)(double);
|
||||||
auto call = cc.call(ToMemAddress(static_cast<FuncPtr>(g_sqrt)), FuncSignature1<void, double>());
|
auto call = cc.call(ToMemAddress(reinterpret_cast<const void*>(static_cast<FuncPtr>(g_sqrt))), FuncSignature1<void, double>());
|
||||||
call->setRet(0, a);
|
call->setRet(0, a);
|
||||||
call->setArg(0, b);
|
call->setArg(0, b);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue