From 35632e025560daacac1508bad6e9e0614f2c2e72 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 10 May 2016 06:34:53 +0100 Subject: [PATCH] Remove a compiler warning. --- Modem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modem.cpp b/Modem.cpp index 1e35bf3..f34ac4a 100644 --- a/Modem.cpp +++ b/Modem.cpp @@ -1032,7 +1032,7 @@ bool CModem::sendCWId(const std::string& callsign) // CUtils::dump(1U, "Written", buffer, length + 3U); - return m_serial.write(buffer, length + 3U) == (length + 3U); + return m_serial.write(buffer, length + 3U) == int(length + 3U); } bool CModem::writeDMRStart(bool tx)