mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
llabs call fixed
This commit is contained in:
parent
fe6f72d16e
commit
2c7e3960d6
@ -1209,7 +1209,8 @@ extern "C" AVIAN_EXPORT int64_t JNICALL
|
||||
extern "C" AVIAN_EXPORT int64_t JNICALL
|
||||
Avian_java_lang_Math_abs__J(Thread*, object, uintptr_t* arguments)
|
||||
{
|
||||
return llabs(static_cast<int64_t>(arguments[0]));
|
||||
int64_t v; memcpy(&v, arguments, 8);
|
||||
return llabs(v);
|
||||
}
|
||||
|
||||
extern "C" AVIAN_EXPORT int64_t JNICALL
|
||||
|
Loading…
Reference in New Issue
Block a user