mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Changed reinterpret_cast to static_cast
This commit is contained in:
parent
d200019d10
commit
5d36fd84cd
@ -3167,7 +3167,7 @@ FromReflectedMethod(Thread* t, jobject method)
|
||||
{
|
||||
uintptr_t arguments[] = { reinterpret_cast<uintptr_t>(method) };
|
||||
|
||||
return reinterpret_cast<jmethodID>(run(t, fromReflectedMethod, arguments));
|
||||
return static_cast<jmethodID>(run(t, fromReflectedMethod, arguments));
|
||||
}
|
||||
|
||||
uint64_t
|
||||
@ -3205,7 +3205,7 @@ FromReflectedField(Thread* t, jobject field)
|
||||
{
|
||||
uintptr_t arguments[] = { reinterpret_cast<uintptr_t>(field) };
|
||||
|
||||
return reinterpret_cast<jfieldID>(run(t, fromReflectedField, arguments));
|
||||
return static_cast<jfieldID>(run(t, fromReflectedField, arguments));
|
||||
}
|
||||
|
||||
uint64_t
|
||||
|
Loading…
Reference in New Issue
Block a user