summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-08-27 12:44:05 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-08-27 12:44:05 -0400
commit8b78bdff01c5e8efa2166846a2095f8357189228 (patch)
treef5f88f5fc10814e79e0b0564a4a986966843ee20
parent29a33decc0532cc0482f02f12b4365294760d931 (diff)
wd1000.cpp: Replace bzero with std::fill (nw)
-rw-r--r--src/devices/machine/wd1000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/wd1000.cpp b/src/devices/machine/wd1000.cpp
index a1d969bf008..1b573fe0af9 100644
--- a/src/devices/machine/wd1000.cpp
+++ b/src/devices/machine/wd1000.cpp
@@ -603,7 +603,7 @@ void wd1000_device::cmd_format_sector()
for (int i = 0; i < m_sector_count; i++)
{
- bzero(buffer, sizeof(buffer));
+ std::fill(std::begin(buffer), std::end(buffer), 0);
hard_disk_write(file, get_lbasector(), buffer);
}