mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
fix memcpy argument order bug in jvmConstantPoolGetDoubleAt
This commit is contained in:
parent
9ceacf16e9
commit
3f039864d1
@ -4684,7 +4684,7 @@ jvmConstantPoolGetDoubleAt(Thread* t, uintptr_t* arguments)
|
||||
jobject pool = reinterpret_cast<jobject>(arguments[0]);
|
||||
jint index = arguments[1];
|
||||
|
||||
double v; memcpy(&singletonValue(t, *pool, index - 1), &v, 8);
|
||||
double v; memcpy(&v, &singletonValue(t, *pool, index - 1), 8);
|
||||
|
||||
return doubleToBits(v);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user