1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli: Convert an int to a size_t

More appropriate for an array length

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2024-10-15 13:46:05 +02:00 committed by Ralph Boehme
parent 83582d417c
commit 72ff0312d1
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
struct security_acl *make_sec_acl(
TALLOC_CTX *ctx,
enum security_acl_revision revision,
int num_aces,
size_t num_aces,
const struct security_ace *ace_list)
{
struct security_acl *dst;

View File

@ -26,7 +26,7 @@
struct security_acl *make_sec_acl(
TALLOC_CTX *ctx,
enum security_acl_revision revision,
int num_aces,
size_t num_aces,
const struct security_ace *ace_list);
#endif /*_SECACL_H_*/