diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-28 23:44:15 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-28 23:44:15 +0200 |
commit | 32bdfb274ec20318dd7d45fb62cd6e51323453f7 (patch) | |
tree | 1142386bf9fb2f90738876cc3e572c0be353c868 /src/dabInputDabplusFifo.cpp | |
parent | f0b272d734469552b9747ec3e00a5a3a22811749 (diff) | |
download | dabmux-32bdfb274ec20318dd7d45fb62cd6e51323453f7.tar.gz dabmux-32bdfb274ec20318dd7d45fb62cd6e51323453f7.tar.bz2 dabmux-32bdfb274ec20318dd7d45fb62cd6e51323453f7.zip |
Replace NULL by nullptr
Diffstat (limited to 'src/dabInputDabplusFifo.cpp')
-rw-r--r-- | src/dabInputDabplusFifo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dabInputDabplusFifo.cpp b/src/dabInputDabplusFifo.cpp index 81f373b..94aec13 100644 --- a/src/dabInputDabplusFifo.cpp +++ b/src/dabInputDabplusFifo.cpp @@ -68,7 +68,7 @@ int dabInputDabplusFifoInit(void** args) dabInputDabplusFifoData* data = new dabInputDabplusFifoData; dabInputFifoInit(&data->fifoData); - data->buffer = NULL; + data->buffer = nullptr; data->bufferSize = 0; data->bufferIndex = 0; data->bufferOffset = 0; @@ -100,7 +100,7 @@ int dabInputDabplusFifoRead(void* args, void* buffer, int size) dabInputDabplusFifoData* data = (dabInputDabplusFifoData*)args; if (data->bufferSize != (size_t)size * 5) { - if (data->buffer != NULL) { + if (data->buffer != nullptr) { delete[] data->buffer; } data->buffer = new uint8_t[size * 5]; |