Changes from SAMBA_2_2:
authorDavid O'Neill <dmo@samba.org>
Mon, 29 Jan 2001 21:32:45 +0000 (21:32 +0000)
committerDavid O'Neill <dmo@samba.org>
Mon, 29 Jan 2001 21:32:45 +0000 (21:32 +0000)
- fix typo in cast from talloc
(This used to be commit f24aa0b51f06b8181b46bb1d2e73d91e5159fe1c)

source3/rpc_parse/parse_lsa.c

index 00fda669a0b8f6e6577f53e1ae6fc9aa0660582d..8654453bcfe0eb30cd849818be44907ea305582e 100644 (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;
 
        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) {