[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4179-gaf18780

Günther Deschner gd at samba.org
Fri Sep 26 21:37:52 GMT 2008


The branch, v3-3-test has been updated
       via  af1878009e0bb7ef43bf445f5c167f3bbcc43fd2 (commit)
      from  5db15bc0f67b478ef95ec3e327f7a40d90c535bd (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit af1878009e0bb7ef43bf445f5c167f3bbcc43fd2
Author: Günther Deschner <gd at samba.org>
Date:   Fri Sep 26 23:36:07 2008 +0200

    libgpo: fix invalid cast in scripts CSE.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/libgpo/gpext/scripts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libgpo/gpext/scripts.c b/source/libgpo/gpext/scripts.c
index c07407c..02c3aba 100644
--- a/source/libgpo/gpext/scripts.c
+++ b/source/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