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:
parent
694786b23c
commit
cd49586b29
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user