summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_samsync_ldb.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-10 20:23:43 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-10 20:23:43 +0100
commitec6843402cdaecf8fa96f7b9c037f175dd128639 (patch)
tree6c498d8217730e95d68ca1dd11db085b708d7f38 /source4/libnet/libnet_samsync_ldb.c
parentaf72a63cff2e8a000232d4ea65b66fb87eda9f01 (diff)
downloadsamba-ec6843402cdaecf8fa96f7b9c037f175dd128639.tar.gz
samba-ec6843402cdaecf8fa96f7b9c037f175dd128639.tar.bz2
samba-ec6843402cdaecf8fa96f7b9c037f175dd128639.zip
s4:libnet - change variables to "unsigned" where needed
Diffstat (limited to 'source4/libnet/libnet_samsync_ldb.c')
-rw-r--r--source4/libnet/libnet_samsync_ldb.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c
index e9db4a909c..fa39375e16 100644
--- a/source4/libnet/libnet_samsync_ldb.c
+++ b/source4/libnet/libnet_samsync_ldb.c
@@ -245,7 +245,8 @@ static NTSTATUS samsync_ldb_handle_user(TALLOC_CTX *mem_ctx,
struct ldb_message *msg;
struct ldb_message **msgs;
struct ldb_message **remote_msgs = NULL;
- int ret, i;
+ unsigned int i;
+ int ret;
uint32_t acb;
bool add = false;
const char *attrs[] = { NULL };
@@ -658,7 +659,7 @@ static NTSTATUS samsync_ldb_handle_group_member(TALLOC_CTX *mem_ctx,
struct ldb_message **msgs;
int ret;
const char *attrs[] = { NULL };
- int i;
+ uint32_t i;
msg = ldb_msg_new(mem_ctx);
if (msg == NULL) {
@@ -867,7 +868,7 @@ static NTSTATUS samsync_ldb_handle_alias_member(TALLOC_CTX *mem_ctx,
struct ldb_message **msgs;
int ret;
const char *attrs[] = { NULL };
- int i;
+ uint32_t i;
msg = ldb_msg_new(mem_ctx);
if (msg == NULL) {
@@ -948,7 +949,7 @@ static NTSTATUS samsync_ldb_handle_account(TALLOC_CTX *mem_ctx,
struct ldb_message *msg;
int ret;
- int i;
+ uint32_t i;
char *dnstr, *sidstr;
msg = ldb_msg_new(mem_ctx);