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:
committed by
Gerald (Jerry) Carter
parent
89f7a2b93f
commit
1340cb1f3b
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user