summaryrefslogtreecommitdiffstats
path: root/source3/libgpo
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpext/scripts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c
index 3850216b932..7a3d4e5e0f4 100644
--- a/source3/libgpo/gpext/scripts.c
+++ b/source3/libgpo/gpext/scripts.c
@@ -102,7 +102,7 @@ static NTSTATUS generate_gp_registry_entry(TALLOC_CTX *mem_ctx,
SBVAL(data->data.data, 0, *(uint64_t *)data_p);
break;
case REG_SZ:
- if (!push_reg_sz(mem_ctx, &data->data, (char *)data_p)) {
+ if (!push_reg_sz(mem_ctx, &data->data, (const char *)data_p)) {
return NT_STATUS_NO_MEMORY;
}
break;