summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-24 15:00:29 +0200
committerMichael Adam <obnox@samba.org>2010-05-25 10:35:25 +0200
commitf7f9ce30caa838f8408faa4bddcaebe2e266a0e4 (patch)
treeb4c7be76d2a1e13cf8b448134e56a56270c5be99 /source3
parent4ae77b2ef9ef5f936055b03a7fb96231a069683b (diff)
downloadsamba-f7f9ce30caa838f8408faa4bddcaebe2e266a0e4.tar.gz
samba-f7f9ce30caa838f8408faa4bddcaebe2e266a0e4.tar.bz2
samba-f7f9ce30caa838f8408faa4bddcaebe2e266a0e4.zip
s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *
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);