1
0
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:
Jon Beniston 2021-04-11 21:37:01 +01:00
parent 7aebff1082
commit 6dce90f9a5

View File

@ -116,7 +116,7 @@ void SDRPlayV3Thread::callbackHelper(short *xi, short *xq, sdrplay_api_StreamCbP
if (numSamples > 8192) if (numSamples > 8192)
qCritical() << "SDRPlayV3Thread::callbackHelper: IQ buffer too small: " << numSamples; 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] = xi[i];
iq[i*2+1] = xq[i]; iq[i*2+1] = xq[i];