[SCM] Samba Shared Repository - branch master updated -
cd49586b29d754e497d10ed18be5d9b27e8c4a3d
Günther Deschner
gd at samba.org
Fri Sep 26 21:40:16 GMT 2008
The branch, master has been updated
via cd49586b29d754e497d10ed18be5d9b27e8c4a3d (commit)
from 694786b23c30e0a3449c7222433e3fdc7ef7c0e1 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit cd49586b29d754e497d10ed18be5d9b27e8c4a3d
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 26 23:39:32 2008 +0200
libgpo: fix invalid cast in scripts CSE.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/libgpo/gpext/scripts.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c
index c07407c..02c3aba 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);
--
Samba Shared Repository
More information about the samba-cvs
mailing list