diff --git a/Detector.cpp b/Detector.cpp index 5125775db..37370929c 100644 --- a/Detector.cpp +++ b/Detector.cpp @@ -24,6 +24,7 @@ Detector::Detector (unsigned frameRate, unsigned periodLengthInSeconds, new short [framesPerSignal * downSampleFactor] : 0) , m_bufferPos (0) { + (void)m_frameRate; // quell compiler warning clear (); } diff --git a/lib/init_rs.c b/lib/init_rs.c index eb2711949..b836c1c53 100644 --- a/lib/init_rs.c +++ b/lib/init_rs.c @@ -38,7 +38,7 @@ void *INIT_RS(int symsize,int gfpoly,int fcr,int prim, int i, j, sr,root,iprim; /* Check parameter ranges */ - if(symsize < 0 || symsize > 8*sizeof(DTYPE)) + if(symsize < 0 || symsize > (int)(8*sizeof(DTYPE))) return NULL; /* Need version with ints rather than chars */ if(fcr < 0 || fcr >= (1< m_stream; - QIODevice * m_source; bool volatile m_active; QAudioDeviceInfo m_currentDevice; qreal m_volume;