Index: libadblockplus-android/jni/JniSubscription.cpp |
diff --git a/libadblockplus-android/jni/JniSubscription.cpp b/libadblockplus-android/jni/JniSubscription.cpp |
index 8360e00ddfbc623aba5244043eb88ea93ddb84f8..4a104cab690332a3f83cd6a6efb3bddd2ea020e7 100644 |
--- a/libadblockplus-android/jni/JniSubscription.cpp |
+++ b/libadblockplus-android/jni/JniSubscription.cpp |
@@ -21,7 +21,7 @@ |
static AdblockPlus::Subscription* GetSubscriptionPtr(jlong ptr) |
{ |
- return JniLongToTypePtr<AdblockPlus::SubscriptionPtr>(ptr)->get(); |
+ return JniLongToTypePtr<AdblockPlus::Subscription>(ptr); |
} |
static jboolean JNICALL JniIsListed(JNIEnv* env, jclass clazz, jlong ptr) |