summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-12-19 22:22:39 +0100
committerAndreas Schneider <asn@samba.org>2014-01-07 16:59:37 +0100
commit0e3c964fab820ca9431fe1792763c0deafcfbd54 (patch)
treef7853d1f93da8ed14fcfd4b89fef1997467ae8b0 /source3/libgpo
parent53bff63383cbe51c52f035199cef95823e77c228 (diff)
downloadsamba-0e3c964fab820ca9431fe1792763c0deafcfbd54.tar.gz
libgpo/CSE/scripts: fix a build warning.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
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;