summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_import.c2
-rw-r--r--source3/registry/reg_import.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_import.c b/source3/registry/reg_import.c
index 5f99b07329..2ccb97ec37 100644
--- a/source3/registry/reg_import.c
+++ b/source3/registry/reg_import.c
@@ -231,7 +231,7 @@ static int nop(void* data)
}
-struct reg_parse_callback* reg_import_adapter(const void* talloc_ctx,
+struct reg_parse_callback *reg_import_adapter(TALLOC_CTX *talloc_ctx,
struct reg_import_callback cb)
{
struct reg_parse_callback* ret;
diff --git a/source3/registry/reg_import.h b/source3/registry/reg_import.h
index 5922f9d33b..70db4acd1b 100644
--- a/source3/registry/reg_import.h
+++ b/source3/registry/reg_import.h
@@ -194,6 +194,6 @@ struct reg_import_callback {
*
* @return a talloc'ed reg_import object, NULL on error
*/
-struct reg_parse_callback* reg_import_adapter(const void* talloc_ctx,
+struct reg_parse_callback* reg_import_adapter(TALLOC_CTX *talloc_ctx,
struct reg_import_callback cb);
#endif