diff --git a/plugins/samplesource/sdrplayv3/sdrplayv3thread.cpp b/plugins/samplesource/sdrplayv3/sdrplayv3thread.cpp index cb6b7ce90..7189008a5 100644 --- a/plugins/samplesource/sdrplayv3/sdrplayv3thread.cpp +++ b/plugins/samplesource/sdrplayv3/sdrplayv3thread.cpp @@ -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];