mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 10:12:01 +00:00
widl: Fix size parameter for xrealloc (Coccinelle).
This commit is contained in:
parent
9cf1af7cac
commit
caaf027e55
@ -754,7 +754,7 @@ static void build_iface_list( const statement_list_t *stmts, type_t **ifaces[],
|
||||
type_t *iface = stmt->u.type;
|
||||
if (type_iface_get_inherit(iface) && need_proxy(iface))
|
||||
{
|
||||
*ifaces = xrealloc( *ifaces, (*count + 1) * sizeof(*ifaces) );
|
||||
*ifaces = xrealloc( *ifaces, (*count + 1) * sizeof(**ifaces) );
|
||||
(*ifaces)[(*count)++] = iface;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user