summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/ns32081.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ns32081.cpp')
-rw-r--r--src/devices/machine/ns32081.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/ns32081.cpp b/src/devices/machine/ns32081.cpp
index 73941a85f2c..c27ffde6595 100644
--- a/src/devices/machine/ns32081.cpp
+++ b/src/devices/machine/ns32081.cpp
@@ -108,7 +108,7 @@ void ns32081_device::device_start()
void ns32081_device::device_reset()
{
m_fsr = 0;
- std::fill_n(&m_f[0], ARRAY_LENGTH(m_f), 0);
+ std::fill(std::begin(m_f), std::end(m_f), 0);
m_state = IDLE;
}