aboutsummaryrefslogtreecommitdiffstats
path: root/src/dabInputRawFifo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabInputRawFifo.cpp')
-rw-r--r--src/dabInputRawFifo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dabInputRawFifo.cpp b/src/dabInputRawFifo.cpp
index 3a77be3..0da9727 100644
--- a/src/dabInputRawFifo.cpp
+++ b/src/dabInputRawFifo.cpp
@@ -96,7 +96,7 @@ int dabInputRawFifoSetbuf(void* args, int size)
return size;
}
- if (data->bufferSize != size) {
+ if (data->bufferSize != (size_t)size) {
if (data->buffer != NULL) {
delete[] data->buffer;
}
@@ -130,7 +130,7 @@ int dabInputRawFifoReadFrame(dabInputOperations* ops, void* args,
return -1;
}
- if (result + data->bufferOffset < size) {
+ if (result + data->bufferOffset < (size_t)size) {
data->bufferOffset += result;
etiLog.log(info, "reach end of fifo -> rewinding\n");