summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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)