mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Fixed compiler error casts
This commit is contained in:
parent
5d36fd84cd
commit
4a98b6ac13
@ -3186,7 +3186,7 @@ jobject JNICALL
|
||||
ToReflectedMethod(Thread* t, jclass c, jmethodID method, jboolean isStatic)
|
||||
{
|
||||
uintptr_t arguments[] = { reinterpret_cast<uintptr_t>(c),
|
||||
reinterpret_cast<uintptr_t>(method),
|
||||
static_cast<uintptr_t>(method),
|
||||
static_cast<uintptr_t>(isStatic) };
|
||||
|
||||
return reinterpret_cast<jobject>(run(t, toReflectedMethod, arguments));
|
||||
@ -3224,7 +3224,7 @@ jobject JNICALL
|
||||
ToReflectedField(Thread* t, jclass c, jfieldID field, jboolean isStatic)
|
||||
{
|
||||
uintptr_t arguments[] = { reinterpret_cast<uintptr_t>(c),
|
||||
reinterpret_cast<uintptr_t>(field),
|
||||
static_cast<uintptr_t>(field),
|
||||
static_cast<uintptr_t>(isStatic) };
|
||||
|
||||
return reinterpret_cast<jobject>(run(t, toReflectedField, arguments));
|
||||
|
Loading…
Reference in New Issue
Block a user