diff options
Diffstat (limited to 'source4/lib/registry/util.c')
-rw-r--r-- | source4/lib/registry/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c index ba739c4921..8a4bc92fe1 100644 --- a/source4/lib/registry/util.c +++ b/source4/lib/registry/util.c @@ -41,7 +41,7 @@ static const struct { /** Return string description of registry value type */ _PUBLIC_ const char *str_regtype(int type) { - int i; + unsigned int i; for (i = 0; reg_value_types[i].name; i++) { if (reg_value_types[i].id == type) return reg_value_types[i].name; @@ -115,7 +115,7 @@ _PUBLIC_ bool reg_string_to_val(TALLOC_CTX *mem_ctx, const char *data_str, uint32_t *type, DATA_BLOB *data) { - int i; + unsigned int i; *type = -1; /* Find the correct type */ @@ -171,7 +171,7 @@ WERROR reg_open_key_abs(TALLOC_CTX *mem_ctx, struct registry_context *handle, { struct registry_key *predef; WERROR error; - int predeflength; + size_t predeflength; char *predefname; if (strchr(name, '\\') != NULL) |