From 115566b0a85e4f21bd4d8d61ecc4e9d511d2f03b Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Thu, 24 Oct 2013 10:17:24 -0400 Subject: [PATCH] Silence a couple integer comparison warnings --- openbr/plugins/process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbr/plugins/process.cpp b/openbr/plugins/process.cpp index d819111..f7a4ff1 100644 --- a/openbr/plugins/process.cpp +++ b/openbr/plugins/process.cpp @@ -52,7 +52,7 @@ public: forever { - while (receiver->bytesAvailable() < sizeof(signal)) { + while (receiver->bytesAvailable() < qint64(sizeof(signal))) { receiver->waitForReadyRead(-1); } receiver->read((char *) &signal, sizeof(signal)); @@ -64,7 +64,7 @@ public: } qint64 inBufferSize; - while (receiver->bytesAvailable() < sizeof(inBufferSize)) { + while (receiver->bytesAvailable() < qint64(sizeof(inBufferSize))) { receiver->waitForReadyRead(-1); } receiver->read((char *) &inBufferSize, sizeof(inBufferSize)); -- libgit2 0.21.4