diff options
author | Günther Deschner <gd@samba.org> | 2008-09-26 23:39:32 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-26 23:39:32 +0200 |
commit | cd49586b29d754e497d10ed18be5d9b27e8c4a3d (patch) | |
tree | 0f1a751ee7d97f37ec752530dcccb4c777e83dbb /source3/libgpo | |
parent | 694786b23c30e0a3449c7222433e3fdc7ef7c0e1 (diff) | |
download | samba-cd49586b29d754e497d10ed18be5d9b27e8c4a3d.tar.gz samba-cd49586b29d754e497d10ed18be5d9b27e8c4a3d.tar.bz2 samba-cd49586b29d754e497d10ed18be5d9b27e8c4a3d.zip |
libgpo: fix invalid cast in scripts CSE.
Guenther
Diffstat (limited to 'source3/libgpo')
-rw-r--r-- | source3/libgpo/gpext/scripts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c index c07407c3f0..02c3abaa1e 100644 --- a/source3/libgpo/gpext/scripts.c +++ b/source3/libgpo/gpext/scripts.c @@ -93,7 +93,7 @@ static NTSTATUS generate_gp_registry_entry(TALLOC_CTX *mem_ctx, data->type = data_type; switch (data->type) { case REG_QWORD: - data->v.qword = (uint64_t)data_p; + data->v.qword = *(uint64_t *)data_p; break; case REG_SZ: data->v.sz.str = talloc_strdup(mem_ctx, (char *)data_p); |