summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/registry/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c
index 8c855c25ed..47568b135e 100644
--- a/source4/lib/registry/util.c
+++ b/source4/lib/registry/util.c
@@ -211,7 +211,7 @@ WERROR reg_open_key_abs(TALLOC_CTX *mem_ctx, struct registry_context *handle,
static WERROR get_abs_parent(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path, struct registry_key **parent,
- const char **name)
+ char **name)
{
char *parent_name;
WERROR error;
@@ -238,7 +238,7 @@ WERROR reg_key_del_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path)
{
struct registry_key *parent;
- const char *n;
+ char *n;
WERROR error;
if (!strchr(path, '\\')) {
@@ -262,7 +262,7 @@ WERROR reg_key_add_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
struct registry_key **result)
{
struct registry_key *parent;
- const char *n;
+ char *n;
WERROR error;
if (!strchr(path, '\\')) {