summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 672e69c6c7..907d0236c7 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -168,8 +168,7 @@ WERROR reg_enumkey(TALLOC_CTX *mem_ctx, struct registry_key *key,
}
WERROR reg_enumvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
- uint32 idx, const char **pname,
- struct registry_value **pval)
+ uint32 idx, char **pname, struct registry_value **pval)
{
struct registry_value *val;
WERROR err;