summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74148.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74148.cpp')
-rw-r--r--src/devices/machine/74148.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/74148.cpp b/src/devices/machine/74148.cpp
index 02d1be3927a..71520535f63 100644
--- a/src/devices/machine/74148.cpp
+++ b/src/devices/machine/74148.cpp
@@ -56,8 +56,8 @@ ttl74148_device::ttl74148_device(const machine_config &mconfig, const char *tag,
m_last_output_valid(0),
m_last_enable_output(0)
{
- for (int i = 0; i < 8; i++)
- m_input_lines[i] = 0;
+ for (auto & elem : m_input_lines)
+ elem = 0;
}
//-------------------------------------------------