diff options
author | Volker Lendecke <vl@samba.org> | 2018-11-20 13:38:05 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-11-28 17:44:15 +0100 |
commit | 899bbb44074b843e144b3f61795d4ac43268e599 (patch) | |
tree | 5c78701c8b78ee20b41be2f4daa2fa2fe922d60b /source3 | |
parent | a167014554c9cac1ed751adce488dce164da5979 (diff) | |
download | samba-899bbb44074b843e144b3f61795d4ac43268e599.tar.gz |
lib: Align integer types
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_sid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index 13d5e1ce4c4..2ed968d7285 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -75,7 +75,7 @@ char *sid_string_tos(const struct dom_sid *sid) bool sid_linearize(uint8_t *outbuf, size_t len, const struct dom_sid *sid) { - size_t i; + int8_t i; if (len < ndr_size_dom_sid(sid, 0)) return False; @@ -132,7 +132,7 @@ NTSTATUS sid_array_from_info3(TALLOC_CTX *mem_ctx, struct dom_sid sid; struct dom_sid *sid_array = NULL; uint32_t num_sids = 0; - int i; + uint32_t i; if (include_user_group_rid) { if (!sid_compose(&sid, info3->base.domain_sid, info3->base.rid)) { |