1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

libcli: Align some integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2020-09-29 09:55:22 +02:00 committed by Jeremy Allison
parent 5a143c0931
commit a61ed4df0e

View File

@ -124,7 +124,7 @@ static struct dom_sid *sddl_decode_sid(TALLOC_CTX *mem_ctx, const char **sddlp,
const struct dom_sid *domain_sid)
{
const char *sddl = (*sddlp);
int i;
size_t i;
/* see if its in the numeric format */
if (strncmp(sddl, "S-", 2) == 0) {
@ -456,7 +456,7 @@ failed:
static char *sddl_encode_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid,
const struct dom_sid *domain_sid)
{
int i;
size_t i;
char *sidstr;
sidstr = dom_sid_string(mem_ctx, sid);