summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/emu/netlist/devices/nld_truthtable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/netlist/devices/nld_truthtable.c b/src/emu/netlist/devices/nld_truthtable.c
index dc2a31e3cb0..09a5ae936bf 100644
--- a/src/emu/netlist/devices/nld_truthtable.c
+++ b/src/emu/netlist/devices/nld_truthtable.c
@@ -62,7 +62,8 @@ UINT32 truthtable_desc_t::get_ignored_extended(UINT32 i)
* may change the output
*/
int bits = (1<<count_bits(nign));
- int t[bits];
+ plinearlist_t<int> t;
+ t.set_count(bits);
for (UINT32 j=1; j<bits; j++)
{