diff --git a/src/jnienv.cpp b/src/jnienv.cpp index 289c955bc3..15631e51e4 100644 --- a/src/jnienv.cpp +++ b/src/jnienv.cpp @@ -3167,7 +3167,7 @@ FromReflectedMethod(Thread* t, jobject method) { uintptr_t arguments[] = { reinterpret_cast(method) }; - return reinterpret_cast(run(t, fromReflectedMethod, arguments)); + return static_cast(run(t, fromReflectedMethod, arguments)); } uint64_t @@ -3205,7 +3205,7 @@ FromReflectedField(Thread* t, jobject field) { uintptr_t arguments[] = { reinterpret_cast(field) }; - return reinterpret_cast(run(t, fromReflectedField, arguments)); + return static_cast(run(t, fromReflectedField, arguments)); } uint64_t