From 5953e2ce95dc0cb809d529c4103ae6b80f0248c0 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 4 Apr 2014 10:47:58 +0200 Subject: Remove some compilation warnings --- src/dabInputRawFifo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dabInputRawFifo.cpp') 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"); -- cgit v1.2.3