Index: libadblockplus-android/jni/JniFilter.cpp |
diff --git a/libadblockplus-android/jni/JniFilter.cpp b/libadblockplus-android/jni/JniFilter.cpp |
index 4bbb8eeea3ce6cabfec2b82bdc94a099b153ca36..a116c5a7c1693aee4a61bb368fc91c4ecd848869 100644 |
--- a/libadblockplus-android/jni/JniFilter.cpp |
+++ b/libadblockplus-android/jni/JniFilter.cpp |
@@ -39,7 +39,7 @@ void JniFilter_OnUnload(JavaVM* vm, JNIEnv* env, void* reserved) |
static AdblockPlus::Filter* GetFilterPtr(jlong ptr) |
{ |
- return JniLongToTypePtr<AdblockPlus::FilterPtr>(ptr)->get(); |
+ return JniLongToTypePtr<AdblockPlus::Filter>(ptr); |
} |
static jobject JNICALL JniGetType(JNIEnv* env, jclass clazz, jlong ptr) |