summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/reg_objects.h2
-rw-r--r--source3/registry/reg_objects.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index 761bb49596..0ed5d3cae1 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -190,7 +190,7 @@ struct regval_blob* regval_ctr_specific_value(struct regval_ctr *ctr,
bool regval_ctr_key_exists(struct regval_ctr *ctr, const char *value);
struct regval_blob *regval_compose(TALLOC_CTX *ctx, const char *name,
uint16 type,
- const char *data_p, size_t size);
+ const uint8 *data_p, size_t size);
int regval_ctr_addvalue(struct regval_ctr *ctr, const char *name, uint16 type,
const char *data_p, size_t size);
int regval_ctr_addvalue_sz(struct regval_ctr *ctr, const char *name, const char *data);
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index a1d085b586..b0d8da4227 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -424,7 +424,7 @@ bool regval_ctr_key_exists(struct regval_ctr *ctr, const char *value)
struct regval_blob *regval_compose(TALLOC_CTX *ctx, const char *name,
uint16 type,
- const char *data_p, size_t size)
+ const uint8 *data_p, size_t size)
{
struct regval_blob *regval = TALLOC_P(ctx, struct regval_blob);