Revert "Cast ApkAssets to uintptr_t before jlong"
This reverts commit 1d46f4f2dd.
Reason for revert: Did not fix b/159041693
Change-Id: Ie06232a06027a29ccd2e71ae866200f2e9216cbe
This commit is contained in:
@@ -354,7 +354,7 @@ static void NativeDestroy(void* ptr) {
|
||||
}
|
||||
|
||||
static jlong NativeGetFinalizer(JNIEnv* /*env*/, jclass /*clazz*/) {
|
||||
return static_cast<jlong>(reinterpret_cast<uintptr_t>(&NativeDestroy));
|
||||
return reinterpret_cast<jlong>(&NativeDestroy);
|
||||
}
|
||||
|
||||
static jstring NativeGetAssetPath(JNIEnv* env, jclass /*clazz*/, jlong ptr) {
|
||||
|
||||
Reference in New Issue
Block a user