mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
Fix gcc warning
This commit is contained in:
parent
7aebff1082
commit
6dce90f9a5
@ -116,7 +116,7 @@ void SDRPlayV3Thread::callbackHelper(short *xi, short *xq, sdrplay_api_StreamCbP
|
||||
if (numSamples > 8192)
|
||||
qCritical() << "SDRPlayV3Thread::callbackHelper: IQ buffer too small: " << numSamples;
|
||||
|
||||
for (int i = 0; i < numSamples; i++)
|
||||
for (int i = 0; i < (int)numSamples; i++)
|
||||
{
|
||||
iq[i*2] = xi[i];
|
||||
iq[i*2+1] = xq[i];
|
||||
|
Loading…
Reference in New Issue
Block a user