From fa003e1facb2ec5d45a28f27a0e293701c673ec6 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 11 Dec 2017 15:23:21 +0100 Subject: Replace legacy bzero() by memset() --- src/TII.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TII.cpp') diff --git a/src/TII.cpp b/src/TII.cpp index 4710ed4..a30d7f6 100644 --- a/src/TII.cpp +++ b/src/TII.cpp @@ -190,7 +190,7 @@ int TII::process(Buffer* dataIn, Buffer* dataOut) } dataOut->setLength(m_carriers * sizeof(complexf)); - bzero(dataOut->getData(), dataOut->getLength()); + memset(dataOut->getData(), 0, dataOut->getLength()); if (m_conf.enable and m_insert) { boost::mutex::scoped_lock lock(m_enabled_carriers_mutex); -- cgit v1.2.3