diff options
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; |