summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_ldb.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-22 18:50:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:30 -0500
commit1cecad25224a13de3b561ae36b8e530b152c81be (patch)
tree6322d21b17cb2ced45ae5db0587330269e63b9e3 /source4/lib/registry/reg_backend_ldb.c
parent31356c02838a678013f0ad9416f0b101b755bd90 (diff)
downloadsamba-1cecad25224a13de3b561ae36b8e530b152c81be.tar.gz
samba-1cecad25224a13de3b561ae36b8e530b152c81be.tar.bz2
samba-1cecad25224a13de3b561ae36b8e530b152c81be.zip
r17713: fix compiler warnings
metze (This used to be commit 21142ad7a2d37489e295d725c8700be0bb921091)
Diffstat (limited to 'source4/lib/registry/reg_backend_ldb.c')
-rw-r--r--source4/lib/registry/reg_backend_ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_ldb.c b/source4/lib/registry/reg_backend_ldb.c
index f4ed80fa7b..d723b1dbe4 100644
--- a/source4/lib/registry/reg_backend_ldb.c
+++ b/source4/lib/registry/reg_backend_ldb.c
@@ -39,7 +39,7 @@ static int ldb_free_hive (struct registry_hive *hive)
return 0;
}
-static void reg_ldb_unpack_value(TALLOC_CTX *mem_ctx, struct ldb_message *msg, char **name, uint32_t *type, DATA_BLOB *data)
+static void reg_ldb_unpack_value(TALLOC_CTX *mem_ctx, struct ldb_message *msg, const char **name, uint32_t *type, DATA_BLOB *data)
{
const struct ldb_val *val;
*name = talloc_strdup(mem_ctx, ldb_msg_find_attr_as_string(msg, "value", NULL));