cleanup a couple of warnings;

pull/121/merge
Bryan Biedenkapp 4 weeks ago
parent 1d09439d06
commit 04ecac8e79

@ -98,7 +98,7 @@ void NetRPC::clock(uint32_t ms)
udp::Socket::address(address).c_str(), udp::Socket::port(address), rpcHeader.getFunction(), rpcHeader.getMessageLength());
}
if (length < RPC_HEADER_LENGTH_BYTES + rpcHeader.getMessageLength()) {
if (length < (int)(RPC_HEADER_LENGTH_BYTES + rpcHeader.getMessageLength())) {
LogError(LOG_NET, "NetRPC::clock(), message received from network is malformed! %u bytes != %u bytes",
RPC_HEADER_LENGTH_BYTES + rpcHeader.getMessageLength(), length);
return;

@ -2193,8 +2193,9 @@ bool Control::getLLA_AM1_Parameters(uint32_t srcId, uint8_t* rs, uint8_t* crs, u
} else {
LogWarning(LOG_P25, "P25, LLA key not found requesting from FNE, rsi = %u", srcId);
m_network->writeLLAKeyReq(srcId);
return false;
}
return false;
}
/* Helper to clear LLA AM1 parameters for a given source ID. */

Loading…
Cancel
Save

Powered by TurnKey Linux.