This fixes compilation with -Wstrict-overflow=2
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
struct id_map ** ids)
{
NTSTATUS ret;
- int i, num_mapped = 0;
+ size_t i, num_mapped = 0;
struct idmap_tdb_common_context *ctx;
NTSTATUS(*unixid_to_sid_fn) (struct idmap_domain * dom,
void *private_data)
{
struct idmap_tdb_common_sids_to_unixids_context *state = private_data;
- int i, num_mapped = 0;
+ size_t i, num_mapped = 0;
NTSTATUS ret = NT_STATUS_OK;
DEBUG(10, ("idmap_tdb_common_sids_to_unixids: "