summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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 456a9d355e..9ccf73790c 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,
- char **name)
+ const 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;
- char *n;
+ const 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;
- char *n;
+ const char *n;
WERROR error;
*result = NULL;