diff options
author | Peter Powell <petpow@saberuk.com> | 2019-09-30 09:49:08 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-09-30 09:49:08 +0100 |
commit | 96d145b83b9c269791ad86b4b25a9c5d07a7cd1d (patch) | |
tree | d53cc44c6a0f80e5a623b02268ba20afec4a0739 | |
parent | 554308f654ab97d2964daf51b13525f400f9a2e4 (diff) |
Fix a compiler error in the LDAP module.
-rw-r--r-- | src/modules/extra/m_ldap.cpp | 2 |
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) |