From 96d145b83b9c269791ad86b4b25a9c5d07a7cd1d Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 30 Sep 2019 09:49:08 +0100 Subject: Fix a compiler error in the LDAP module. --- src/modules/extra/m_ldap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp index 70c6e7b04..fb2b50a5f 100644 --- a/src/modules/extra/m_ldap.cpp +++ b/src/modules/extra/m_ldap.cpp @@ -247,7 +247,7 @@ class LDAPService : public LDAPProvider, public SocketThread Connect(); } - int SetOption(int option, void* value) + int SetOption(int option, const void* value) { int ret = ldap_set_option(this->con, option, value); if (ret != LDAP_OPT_SUCCESS) -- cgit v1.2.3