Changed reinterpret_cast to static_cast

This commit is contained in:
Carsten Elton Sørensen 2012-12-19 23:08:50 +01:00
parent d200019d10
commit 5d36fd84cd

View File

@ -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