summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-09-30 09:49:08 +0100
committerPeter Powell <petpow@saberuk.com>2019-09-30 09:49:08 +0100
commit96d145b83b9c269791ad86b4b25a9c5d07a7cd1d (patch)
treed53cc44c6a0f80e5a623b02268ba20afec4a0739
parent554308f654ab97d2964daf51b13525f400f9a2e4 (diff)
Fix a compiler error in the LDAP module.
-rw-r--r--src/modules/extra/m_ldap.cpp2
1 files changed, 1 insertions, 1 deletions
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)