1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libgpo: fix invalid cast in scripts CSE.

Guenther
This commit is contained in:
Günther Deschner 2008-09-26 23:39:32 +02:00
parent 694786b23c
commit cd49586b29

View File

@ -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);