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:
parent
b35b3d2c1b
commit
ad35c9391d
@ -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))
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user