diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-11 15:23:21 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-11 15:23:21 +0100 |
commit | fa003e1facb2ec5d45a28f27a0e293701c673ec6 (patch) | |
tree | 135025de006661c3b677f568fd7e3fd0cde38dab /src/NullSymbol.cpp | |
parent | 2376bde57d44194e59b85b20411e52307b43ec2e (diff) | |
download | dabmod-fa003e1facb2ec5d45a28f27a0e293701c673ec6.tar.gz dabmod-fa003e1facb2ec5d45a28f27a0e293701c673ec6.tar.bz2 dabmod-fa003e1facb2ec5d45a28f27a0e293701c673ec6.zip |
Replace legacy bzero() by memset()
Diffstat (limited to 'src/NullSymbol.cpp')
-rw-r--r-- | src/NullSymbol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NullSymbol.cpp b/src/NullSymbol.cpp index 015e564..4684dfe 100644 --- a/src/NullSymbol.cpp +++ b/src/NullSymbol.cpp @@ -53,7 +53,7 @@ int NullSymbol::process(Buffer* dataOut) PDEBUG("NullSymbol::process(dataOut: %p)\n", dataOut); dataOut->setLength(myNbCarriers * 2 * sizeof(float)); - bzero(dataOut->getData(), dataOut->getLength()); + memset(dataOut->getData(), 0, dataOut->getLength()); return dataOut->getLength(); } |