summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-03 08:23:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:13 -0500
commit20c7347f4305cb236f9752db127ac57471843e86 (patch)
tree5cd8c1f7367e009e11dd2b56da19eac50daadfcf /source4/ldap_server
parent4dcab29f51ef3cab1019550853d186085d535894 (diff)
downloadsamba-20c7347f4305cb236f9752db127ac57471843e86.tar.gz
samba-20c7347f4305cb236f9752db127ac57471843e86.tar.bz2
samba-20c7347f4305cb236f9752db127ac57471843e86.zip
r13812: fix compiler warning
metze (This used to be commit 1340cb1f3bdbde4d3759d77b28631611c4e150bb)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index b919894d69..a6786e2990 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -362,7 +362,7 @@ static int ldapsrv_load_limits(struct ldapsrv_connection *conn)
char policy_name[256];
int policy_value, s;
- s = sscanf(el->values[i].data, "%255[^=]=%d", policy_name, &policy_value);
+ s = sscanf((const char *)el->values[i].data, "%255[^=]=%d", policy_name, &policy_value);
if (ret != 2 || policy_value == 0)
continue;