summaryrefslogtreecommitdiff
path: root/member.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'member.cxx')
-rw-r--r--member.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/member.cxx b/member.cxx
index 82222bb..bd7b02f 100644
--- a/member.cxx
+++ b/member.cxx
@@ -1,5 +1,6 @@
#include <cstddef>
#include <memory>
+#include <icclient/typedefs.h>
#include <icclient/member.h>
#include "qicclient/member.hxx"
@@ -8,7 +9,7 @@ namespace QICClient {
std::shared_ptr<Member> Member::logIn(QString const& username,
QString const& password, QString const& successPage,
QString const& nextPage, QString const& failPage,
- size_t (*handler)(void*, size_t, size_t, void*))
+ icclient_handler handler)
{
auto member = new Member{};
member->setData(icclient_member_login(username.toLatin1().constData(),