diff --git a/core/jni/android_content_res_ApkAssets.cpp b/core/jni/android_content_res_ApkAssets.cpp index c7439f1b32d43..af06e2e80cec5 100644 --- a/core/jni/android_content_res_ApkAssets.cpp +++ b/core/jni/android_content_res_ApkAssets.cpp @@ -354,7 +354,7 @@ static void NativeDestroy(void* ptr) { } static jlong NativeGetFinalizer(JNIEnv* /*env*/, jclass /*clazz*/) { - return static_cast(reinterpret_cast(&NativeDestroy)); + return reinterpret_cast(&NativeDestroy); } static jstring NativeGetAssetPath(JNIEnv* env, jclass /*clazz*/, jlong ptr) {