From 89ab6818e170b305a70b7258ac11e11a2eb53aeb Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 7 Nov 2009 21:07:20 +0100 Subject: s4:libregistry - change counters to be "unsigned" Also the s4 registry library has to have "unsigned" counters like the Windows one. --- source4/lib/registry/registry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/registry/registry.h') diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h index a97d9f6184..eeabaefb92 100644 --- a/source4/lib/registry/registry.h +++ b/source4/lib/registry/registry.h @@ -88,7 +88,7 @@ struct hive_operations { * Retrieve a registry value with a specific index. */ WERROR (*enum_value) (TALLOC_CTX *mem_ctx, - struct hive_key *key, int idx, + struct hive_key *key, uint32_t idx, const char **name, uint32_t *type, DATA_BLOB *data); @@ -411,7 +411,7 @@ WERROR reg_key_get_info(TALLOC_CTX *mem_ctx, uint32_t *max_valbufsize); WERROR reg_key_get_subkey_by_index(TALLOC_CTX *mem_ctx, const struct registry_key *key, - int idx, + uint32_t idx, const char **name, const char **classname, NTTIME *last_mod_time); -- cgit