s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.
[amitay/samba.git] / source3 / include / reg_objects.h
index 0ed5d3cae16a283009c776ef0b66f5af9474acb1..00ba68bf5ca03b227a29ee78d980b9072b8a3788 100644 (file)
@@ -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);