1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Fix gcc warnings

This commit is contained in:
Jon Beniston 2022-07-19 10:47:12 +01:00
parent b35b3d2c1b
commit ad35c9391d
2 changed files with 2 additions and 2 deletions

View File

@ -494,7 +494,7 @@ void RemoteTCPSinkSink::processCommand()
RemoteTCPSinkSettings settings = m_settings;
quint8 cmd[5];
while (client && (client->bytesAvailable() >= sizeof(cmd)))
while (client && (client->bytesAvailable() >= (qint64)sizeof(cmd)))
{
int len = client->read((char *)cmd, sizeof(cmd));
if (len == sizeof(cmd))

View File

@ -70,7 +70,7 @@ private:
MessageQueue *m_messageQueueToChannel;
int64_t m_channelFrequencyOffset;
uint32_t m_channelSampleRate;
int32_t m_channelSampleRate;
uint32_t m_deviceIndex;
uint32_t m_channelIndex;
float m_linearGain;