diff options
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 7eb5ee0d98..262559592d 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -690,7 +690,7 @@ static WERROR samdb_result_sid_array_dn(struct ldb_context *sam_ctx, const struct dom_sid ***sids) { struct ldb_message_element *el; - int i; + unsigned int i; el = ldb_msg_find_element(msg, attr); if (!el) { @@ -731,7 +731,7 @@ static WERROR samdb_result_sid_array_ndr(struct ldb_context *sam_ctx, const struct dom_sid ***sids) { struct ldb_message_element *el; - int i; + unsigned int i; el = ldb_msg_find_element(msg, attr); if (!el) { @@ -766,7 +766,7 @@ static WERROR samdb_result_sid_array_ndr(struct ldb_context *sam_ctx, */ static bool sid_list_match(const struct dom_sid **list1, const struct dom_sid **list2) { - int i, j; + unsigned int i, j; /* do we ever have enough SIDs here to worry about O(n^2) ? */ for (i=0; list1[i]; i++) { for (j=0; list2[j]; j++) { |