1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r13812: fix compiler warning

metze
This commit is contained in:
Stefan Metzmacher
2006-03-03 08:23:57 +00:00
committed by Gerald (Jerry) Carter
parent 89f7a2b93f
commit 1340cb1f3b

View File

@ -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;