mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix memcpy argument order in Avian_avian_Singleton_getLong
This commit is contained in:
parent
e06f0407cb
commit
f27ecaa199
@ -1066,7 +1066,7 @@ Avian_avian_Singleton_getLong
|
||||
(Thread* t, object, uintptr_t* arguments)
|
||||
{
|
||||
int64_t v;
|
||||
memcpy(&singletonValue
|
||||
(t, reinterpret_cast<object>(arguments[0]), arguments[1]), &v, 8);
|
||||
memcpy(&v, &singletonValue
|
||||
(t, reinterpret_cast<object>(arguments[0]), arguments[1]), 8);
|
||||
return v;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user