1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

Changes from SAMBA_2_2:

- fix typo in cast from talloc
This commit is contained in:
David O'Neill -
parent 4ae7812353
commit f24aa0b51f

View File

@ -708,7 +708,7 @@ static BOOL lsa_io_dom_query_2(char *desc, DOM_QUERY_2 *d_q, prs_struct *ps, int
return False; return False;
if (UNMARSHALLING(ps)) { if (UNMARSHALLING(ps)) {
d_q->auditsettings = (uint32)talloc(ps->mem_ctx, d_q->count2 * sizeof(uint32)); d_q->auditsettings = (uint32 *)talloc(ps->mem_ctx, d_q->count2 * sizeof(uint32));
} }
if (d_q->auditsettings == NULL) { if (d_q->auditsettings == NULL) {