summaryrefslogtreecommitdiffstats
path: root/src/dabInputRawFifo.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-04 10:47:58 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-04 11:07:37 +0200
commit5953e2ce95dc0cb809d529c4103ae6b80f0248c0 (patch)
tree5ef857b37b4ab889e8d8f56c010283f77821a8c1 /src/dabInputRawFifo.cpp
parent2e325d2c2a34ecda37636e67969ee1550e78fbba (diff)
downloaddabmux-5953e2ce95dc0cb809d529c4103ae6b80f0248c0.tar.gz
dabmux-5953e2ce95dc0cb809d529c4103ae6b80f0248c0.tar.bz2
dabmux-5953e2ce95dc0cb809d529c4103ae6b80f0248c0.zip
Remove some compilation warnings
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");