summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2015-05-16 19:22:11 +0200
committer couriersud <couriersud@arcor.de>2015-05-16 19:22:30 +0200
commit2d934ef2141396276fb80247e08afafffb0feddc (patch)
tree3faf605ea1478d5b6c496d4d53a626f3fb9ecadc
parent5489a72aa94ec7297a87f897a9a9a353cb510310 (diff)
Remove another c99 non-const array. (nw)
-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++)
{