From 70a81796fca29d3e924ab6a9396b1a4ab344a730 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 24 May 2010 15:15:33 +0200 Subject: s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *. --- source3/include/reg_objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h index 0ed5d3cae1..00ba68bf5c 100644 --- a/source3/include/reg_objects.h +++ b/source3/include/reg_objects.h @@ -192,7 +192,7 @@ struct regval_blob *regval_compose(TALLOC_CTX *ctx, const char *name, uint16 type, 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); + const uint8 *data_p, size_t size); int regval_ctr_addvalue_sz(struct regval_ctr *ctr, const char *name, const char *data); int regval_ctr_addvalue_multi_sz(struct regval_ctr *ctr, const char *name, const char **data); int regval_ctr_copyvalue(struct regval_ctr *ctr, struct regval_blob *val); -- cgit