aboutsummaryrefslogtreecommitdiffstats
path: root/src/OfdmGenerator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:23:21 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:23:21 +0100
commitfa003e1facb2ec5d45a28f27a0e293701c673ec6 (patch)
tree135025de006661c3b677f568fd7e3fd0cde38dab /src/OfdmGenerator.cpp
parent2376bde57d44194e59b85b20411e52307b43ec2e (diff)
downloaddabmod-fa003e1facb2ec5d45a28f27a0e293701c673ec6.tar.gz
dabmod-fa003e1facb2ec5d45a28f27a0e293701c673ec6.tar.bz2
dabmod-fa003e1facb2ec5d45a28f27a0e293701c673ec6.zip
Replace legacy bzero() by memset()
Diffstat (limited to 'src/OfdmGenerator.cpp')
-rw-r--r--src/OfdmGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OfdmGenerator.cpp b/src/OfdmGenerator.cpp
index bac3db0..a6609a3 100644
--- a/src/OfdmGenerator.cpp
+++ b/src/OfdmGenerator.cpp
@@ -190,7 +190,7 @@ int OfdmGenerator::process(Buffer* const dataIn, Buffer* dataOut)
myFftIn[0][0] = 0;
myFftIn[0][1] = 0;
- bzero(&myFftIn[myZeroDst], myZeroSize * sizeof(FFT_TYPE));
+ memset(&myFftIn[myZeroDst], 0, myZeroSize * sizeof(FFT_TYPE));
memcpy(&myFftIn[myPosDst], &in[myPosSrc],
myPosSize * sizeof(FFT_TYPE));
memcpy(&myFftIn[myNegDst], &in[myNegSrc],