Index: libadblockplus-android/jni/JniNotification.cpp |
diff --git a/libadblockplus-android/jni/JniNotification.cpp b/libadblockplus-android/jni/JniNotification.cpp |
index affec085297ede4b671a696f9bcc35d74e7d40a5..cd7069bc197de2866c55aff4e55930217b2f27a7 100644 |
--- a/libadblockplus-android/jni/JniNotification.cpp |
+++ b/libadblockplus-android/jni/JniNotification.cpp |
@@ -37,7 +37,7 @@ void JniNotification_OnUnload(JavaVM* vm, JNIEnv* env, void* reserved) |
static AdblockPlus::Notification* GetNotificationPtr(jlong ptr) |
{ |
- return JniLongToTypePtr<AdblockPlus::NotificationPtr>(ptr)->get(); |
+ return JniLongToTypePtr<AdblockPlus::Notification>(ptr); |
} |
static jobject JNICALL JniGetType(JNIEnv* env, jclass clazz, jlong ptr) |