diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 21:07:20 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-06 17:48:25 +0100 |
commit | 89ab6818e170b305a70b7258ac11e11a2eb53aeb (patch) | |
tree | 3dad36645e6776fdda1bd1162f9338a88c3df38c /source4/lib/registry/local.c | |
parent | 5a3633faf12cdec41dc18064d5364a3fd067a22d (diff) | |
download | samba-89ab6818e170b305a70b7258ac11e11a2eb53aeb.tar.gz samba-89ab6818e170b305a70b7258ac11e11a2eb53aeb.tar.bz2 samba-89ab6818e170b305a70b7258ac11e11a2eb53aeb.zip |
s4:libregistry - change counters to be "unsigned"
Also the s4 registry library has to have "unsigned" counters like the Windows
one.
Diffstat (limited to 'source4/lib/registry/local.c')
-rw-r--r-- | source4/lib/registry/local.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/local.c b/source4/lib/registry/local.c index a3aee06b13..458239b9e0 100644 --- a/source4/lib/registry/local.c +++ b/source4/lib/registry/local.c @@ -167,7 +167,7 @@ static WERROR local_create_key(TALLOC_CTX *mem_ctx, struct local_key *local_parent; struct hive_key *hivekey; const char **elements; - int i; + unsigned int i; const char *last_part; last_part = strrchr(name, '\\'); @@ -328,7 +328,7 @@ WERROR reg_mount_hive(struct registry_context *rctx, struct registry_local *reg_local = talloc_get_type(rctx, struct registry_local); struct mountpoint *mp = talloc(rctx, struct mountpoint); - int i = 0; + unsigned int i = 0; mp->path.predefined_key = key_id; mp->prev = mp->next = NULL; |