summaryrefslogtreecommitdiff
path: root/source3/registry/reg_objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_objects.c')
-rw-r--r--source3/registry/reg_objects.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index e637321153..663435daca 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -234,8 +234,8 @@ TALLOC_CTX* regval_ctr_getctx( REGVAL_CTR *val )
Add a new registry value to the array
**********************************************************************/
-int regval_ctr_addvalue( REGVAL_CTR *ctr, char *name, uint16 type,
- char *data_p, size_t size )
+int regval_ctr_addvalue( REGVAL_CTR *ctr, const char *name, uint16 type,
+ const char *data_p, size_t size )
{
REGISTRY_VALUE **ppreg;
@@ -308,7 +308,7 @@ int regval_ctr_copyvalue( REGVAL_CTR *ctr, REGISTRY_VALUE *val )
No need to free memory since it is talloc'd.
**********************************************************************/
-int regval_ctr_delvalue( REGVAL_CTR *ctr, char *name )
+int regval_ctr_delvalue( REGVAL_CTR *ctr, const char *name )
{
int i;